- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
09-18-2023 02:57 AM
Hi all,
I have a flow in flow designer where I have created a catalog task wiht the short description 'Dell laptop has been ordered'.
I want to access information about this specific record in the flow; specifiying that when this catalog task is closed, the Requested record for the catalof item will be closed.
How do I access information about a catalog task that I have created in the flow?
So far I have used this data pill but to no avail: create catalog task>catalog task>state
How can I access this information? Any help would be appreciated.
Kind regards,
G
Solved! Go to Solution.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
09-18-2023 03:16 AM
Hello gunishi,
Once you create the task in the flow, you can access all variables inside that references as you usually do with other pills, in this case I've created a task and then I use that variable for being the input of the next scripted custom action, for example I take the state of the task and use it as input for validating with request inside scripted action.
☆ Community Rising Star 22, 23 & 24 ☆
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
09-18-2023 03:16 AM
Hello gunishi,
Once you create the task in the flow, you can access all variables inside that references as you usually do with other pills, in this case I've created a task and then I use that variable for being the input of the next scripted custom action, for example I take the state of the task and use it as input for validating with request inside scripted action.
☆ Community Rising Star 22, 23 & 24 ☆
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
09-18-2023 03:18 AM
you can use Lookup record on sc_task with the RITM reference and then check the state value
Then use IF action to check state and then use Update Record action to close RITM
If my response helped please mark it correct and close the thread so that it benefits future readers.
Ankur
✨ Certified Technical Architect || ✨ 9x ServiceNow MVP || ✨ ServiceNow Community Leader
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
09-18-2023 03:53 AM
Thank you for marking my response as helpful.
If my response helped please mark it correct and close the thread so that it benefits future readers.
Ankur
✨ Certified Technical Architect || ✨ 9x ServiceNow MVP || ✨ ServiceNow Community Leader