How to fetch catalog task variables, after an sc task variable is update on a record
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎06-09-2023 05:05 AM - edited ‎06-09-2023 09:17 AM
Using work flow how to fetch the value of an sc task variable, when a variable is update on a particular sc task record
Ex: When we submit a request an ritm will be created under ritm a sc task is created,in this sc task if we update a variable value, how we can store that variable value in workflow activity. Based on that value how to create a new task.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎06-09-2023 09:53 AM
Hi @Rohith2 ,
You need to create Run Script activity and in that activity use the GlideRecord of current requested item and from that fetch the catalog task sys_id. Then use GlideRecord query on sc_task table and fetch the variables of that task. Using g_scratchpad store the value of variable and use that in next activity and then you can create the new task.
Please mark my answer as helpful and correct if it helps you.
Regards,
Namrata