Skip to main content

Hi,

 

Anyone able to help with this?

Got a form that passes a free-text variable to a workflow, which in turn calls a web service (JSON) to create a job in Microsoft Service Manager.

 

We've had a couple of failures at the point where the web service creates the job in MS Service Manager and it appears that the web service gets confused if the free-text has double-quotes in it. - I guess the string being passed to the web service gets tangled when it see more double quotes than are required for the string.

 

Is there a way in the K2 Studio Workflow that i can somehow remove/replace the Variable quotes from that variable? Like somehow check the field, if it contains quotes, remove or replace them with something else?

 

Rather than deal with this on the form, i reckon the workflow would do a better job. Is this possible?

 

This is an example of free text that fails: (inside "These funky characters" folder)

Hi,

Have you tried using the Replace Inline Function to replace the double quotes with either an empty string or a whitespace? 


 


 


Reply