We've updated the ServiceNow Community Code of Conduct, adding guidelines around AI usage, professionalism, and content violations. Read more

workflow editor run s

vikaskumarc
Tera Contributor
 

i have a workflow editor which i have to convert in flow designer. I have this run script how can i do this in flow designer with the help of custom action or any other thing . Which you can suggest

6 REPLIES 6

Treat inputs values as properties, not functions.
Parse JSON if you expect arrays.
Define and update the correct GlideRecord (child RITM) instead of an undefined ritm.

Ankur Bawiskar
Tera Patron

@vikaskumarc 

looks like you are submitting a catalog item using script using Cart API

In flow you can use OOTB flow action "Submit Catalog Item Request" and submit catalog item and set variables, then you can also use "Update Record" flow action to update the current RITM

Submit Catalog Item Request action 

OR

You can also use custom flow action and add complete logic there and pass current RITM sysId to it as input so that you can grab the variables on current RITM

💡 If my response helped, please mark it as correct and close the thread 🔒— this helps future readers find the solution faster! 🙏

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