JSON Object - How to create?

rebecca75
Tera Contributor

I have a field on the Task table called 'u_input_parms' that will be used in orchestration. The idea is to have this field as a JSON Object

that I'll use to pass values into my workflow/orchestration.

Currently, the 'u_input_parms' field will have 'workflow name' to fire, input_parm1 and input_parm2.

My question, how do I create this field as a JSON object so that I can call 'Input_parm1' etc? We are on Helsinki and my understanding

is that the json function isn't available until a later version.

11 REPLIES 11

You may just need to do this:


var parser = new JSON();


var obj = '{input1:' + uatm.u_input_parm_1_add.u_input_parm_1 + ',input2:' + uatm.u_input_parm_2_add + '}';



I think it was seeing your input2 as "input2", with quotations.





Chandu Telu
Tera Guru
Tera Guru

Hi Rebcca,



Check the below it may help you



Is is possible to pass a custom object in parm1/2 in an eventQueue call?



Mark Correct if this solves your issue and also hit Like and Helpful if you find my response worthy based on the impact.