- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
3 weeks ago
Hi,
I am at a loss on what to do. 😅
I am working on a flow where after approvals, a catalog task will be created. This catalog task is for the fulfillment group (I am assuming) and it will contain variables that the group should edit. These variables are NOT visible in the RITM and the Catalog item, and it will only be shown in the catalog task. For example, there is this variable called Delivery Method which the fulfillment group chooses when the SCTask is created and assigned to them.
In the flow, I used the Create Catalog Task action, chose the template catalog item and added the variables that I want shown in the catalog task (including Delivery Method).
How do I get the input of the variables AFTER the fulfillment group adds it? I need to use it in an if condition after the Create Catalog Task action... For example, if the fulfillment group chooses Onsite, then call this subflow or if the fulfillment group chooses Postal Services, it will call this subflow.
Is there a way to do this?
Solved! Go to Solution.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
3 weeks ago
yes you can use fresh "Get Catalog Variables" flow action again after your Catalog Task action.
Then you can grab the latest value of that variable and use IF flow logic.
Note: Don't use earlier "Get Catalog Variables" flow action as it will not give you the updated value
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
3 weeks ago
Hi @shoonie ,
do I understand it correctly that you want to see the variables and its values after submission in the RITM in backend view?
If so, then add a variable formatter:
Let me know if that helped or something else's needed
/* If my response wasn’t a total disaster ↙️ ⭐ drop a Kudos or Accept as Solution ✅ ↘️ Cheers! */
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
3 weeks ago
Hi @GlideFather. Thanks for replying.
Not really.
It's more to be able to get the values of the catalog task variables AFTER it has been changed/saved and using the chosen values to proceed in the flow. Like as I mentioned, if the fulfillment group chooses Onsite for the sample Delivery Method variable, after they save the catalog task/mark as complete, the flow will get that value and use it in a later action...
How do I get this value in the flow designer and use it in an action?
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
3 weeks ago
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
3 weeks ago
Hi,
To fetch the latest variable value use "Get Catalog Variables" action using inline script to the "Submitted Request Item" Input