I want to pass two arguments called “In_ReleaseKey” and “In_RobotID” in the above example. So I wrote the code like,
"{startInfo:
{ReleaseKey: ‘“+In_ReleaseKey+”’",
Strategy: 'Specific',
RobotIds: [ In_RobotID ],
JobsCount: 0,
Source: ‘Manual’ } }"
I have tried all the possible ways of putting double quotes but still I am getting the error, “String Constant must end with a double quote”. Please help me to resolve this. Kindly try in your own activity and try to solve the above error, then please send me the code.
Hi Hareesh,
Double and single quotes inside JSONPayload property should be there as it is. Eventhough we are assigning it to a variable, single quotes are there to disturb.
Please find the attachment, open it and try to replace release key with In_ReleaseKey argument and Robot ID with In_RobotID argument.
Implement your idea and send the workflow back to me if you find no erros.
Thanks in advance (5.9 KB)
Thank you very much. Now am using like this, “{startInfo:{ReleaseKey: '”+In_ReleaseKey+“',Strategy: ‘Specific’,RobotIds: [ “+In_RobotID+” ],JobsCount: 0,Source: ‘Manual’ } }”