Flow Designer Set Flow Variable output calling issue

krishna115
Tera Contributor

Hi All,

 

I have created set flow variables. But my script is not working to call set flow variables.

here is my script : return fd_data.flow_var.json;

 

krishna115_1-1737050659809.png

 

Thanks

2 ACCEPTED SOLUTIONS

abhi159
Kilo Sage

you are trying to set the value of flow variable to a additional field ,so may the issue is with data type check the type of additional field, your variable type is JSON so may be  additional fields is not accepting type as Json.

 

Please mark this response as correct or helpful if it assisted you with your question.

View solution in original post

Ankur Bawiskar
Tera Patron
Tera Patron

@krishna115 

the flow variable is of type JSON

Is the additional field input for that Create Issue action accepting JSON type?

It's because of the mismatch possibly

If my response helped please mark it correct and close the thread so that it benefits future readers.

Regards,
Ankur
Certified Technical Architect  ||  9x ServiceNow MVP  ||  ServiceNow Community Leader

View solution in original post

4 REPLIES 4

abhi159
Kilo Sage

you are trying to set the value of flow variable to a additional field ,so may the issue is with data type check the type of additional field, your variable type is JSON so may be  additional fields is not accepting type as Json.

 

Please mark this response as correct or helpful if it assisted you with your question.

Ankur Bawiskar
Tera Patron
Tera Patron

@krishna115 

the flow variable is of type JSON

Is the additional field input for that Create Issue action accepting JSON type?

It's because of the mismatch possibly

If my response helped please mark it correct and close the thread so that it benefits future readers.

Regards,
Ankur
Certified Technical Architect  ||  9x ServiceNow MVP  ||  ServiceNow Community Leader

@krishna115 

Hope you are doing good.

Did my reply answer your question?

If my response helped please mark it correct and close the thread so that it benefits future readers.

Regards,
Ankur
Certified Technical Architect  ||  9x ServiceNow MVP  ||  ServiceNow Community Leader

Amit Verma
Kilo Patron
Kilo Patron

Hi @krishna115 

 

Could you please let me know why you are not using the flow variable data pill instead of returning the value via scripting ? Also, could you please confirm the data type of Additional field of your custom action and what action it is intended to do ?

 

Thanks and Regards

Amit Verma


Please mark this response as correct and helpful if it assisted you with your question.