vt73 RC - Webservice does not handle newline characters correctly causing Workflows to not trigger
- Create a Workflow on Contacts module, Condition is 'description' is "BLAH:
BLAH
" (the newline characters are important!)
-
set the task to be Update Fields and set Last Name to update to 'Matched'
-
create a Contact record, set the Last Name as Test and Description as above and the workflow will run correctly and change the Last Name to 'Matched' (instead of 'Test')
-
Create the same Contact via Webservice (POST data as follows -
operation:create sessionName: elementType:Contacts element:{"assigned_user_id":"19x1","lastname":"Test","description":"BLAH: \n\nBLAH\n\n"}
- when the Contact is created the Last Name is still Test
- Duplicate the Cotnact (via the front-end) and the new Contact will trigger the Workflow and change the last name.
- tried using \n\r for newline characters instead, and get the same result.