How to map variables of a service catalog template to change request in workflow editor.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎12-07-2023 07:57 AM
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.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎12-07-2023 09:37 AM
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?
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎12-07-2023 11:56 PM
But I want it to do in workflow editor.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎12-08-2023 04:03 AM
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.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎12-07-2023 11:59 PM - edited ‎12-08-2023 12:00 AM
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