How to map variables of a service catalog template to change request in workflow editor.

Tippireddy Venk
Tera Contributor

I'm working in workflow editor. I'm stuck with mapping fields from service catalog item to change request table in workflow. The catalog item is the one which submits the RITM ticket.

4 REPLIES 4

Brad Bowman
Kilo Patron
Kilo Patron

Are you saying that when the RITM ticket is submitted you also want a Change Request record to be created with values supplied in Catalog Item variables?  Do you have a run script that is doing a GlideRecord on the change_request table with the initialize() and insert() methods?

But I want it to do in workflow editor.

I got that.  The questions I asked pertain to using the workflow editor.  Unlike Flow Designer, it's not trying to be beginner user-friendly, so you need to write a script, in a Run Script activity, to do something like this.

Anubhav24
Mega Sage
Mega Sage

Hi @Tippireddy Venk ,

If you want to create the change in workflow editor , you can use a run script activity and write the script to create a change by taking values from the RITM form variables as <current.variables.<variablename>>.

However what I would suggest is create a script include and then in your run script call this script inlcude to create your change.

 

Please mark helpful/correct if my response helped you