- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
02-27-2024 10:56 AM
Hi I need to update the catalog task description in work flow
1 Need to populate who was submit the catalog request
2 Need to pull email from RITM/ task on workflow catalog task description
please help me on this
Solved! Go to Solution.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
02-27-2024 11:04 AM
Hi @poco ,
1 Need to populate who was submit the catalog request :
The Requested Item (RITM) gets created right after the Request (REQ) and has access to the variables, so I would run the BR on the sc_req_item table after Insert
var gr = new GlideRecord('sc_request'); if (gr.get(current.request)) { var req_for = current.variables.requested_for; gs.log('req_for is '+req_for); gr.requested_for = req_for; gr.update(); }
2 Need to pull email from RITM/ task on workflow catalog task description
Please explain more about this requirement.
If I could help you with your Query then, please hit the Thumb Icon and mark it as Correct !!
Thanks & Regards,
Sumanth Meda
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
02-27-2024 11:04 AM
Hi @poco ,
1 Need to populate who was submit the catalog request :
The Requested Item (RITM) gets created right after the Request (REQ) and has access to the variables, so I would run the BR on the sc_req_item table after Insert
var gr = new GlideRecord('sc_request'); if (gr.get(current.request)) { var req_for = current.variables.requested_for; gs.log('req_for is '+req_for); gr.requested_for = req_for; gr.update(); }
2 Need to pull email from RITM/ task on workflow catalog task description
Please explain more about this requirement.
If I could help you with your Query then, please hit the Thumb Icon and mark it as Correct !!
Thanks & Regards,
Sumanth Meda