- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
01-10-2025 12:14 AM
Hey there,
I am creating a flow for one of the catalog item, the initial requirement is to Assign the task to particular team according to selection on the choice field on catalog task level.
If as a fulfiller I select on of the choice on catalog task level the catalog task should get assigned to that particular team.
Currently the flow designer is taking value from the catalog item level that is null(I hide that field on catalog item level), and the flow is not working as per my expectations.
Now I want to get the variable value from the catalog task level(whatever fulfiller selects) into the flow designer how do I get that?
currently i am using get catalog variable but it is taking the response value from item form level.
Solved! Go to Solution.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
01-13-2025 05:35 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
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
01-16-2025 11:21 PM
@Ankur Bawiskar @Rohit99 @Shruti ,
Thank you for your responses that was very helpful, however the solution you have provided not worked for me, I choose another way to capture the information from catalog task.
1. Deactivated the variable which was created to capture in the flow designer.
2. Created new field on catalog task added the choices.
3. The field can be only shown on that particular catalog item by using UI policy.
4. Then I tried to capture the field on flow designer and it worked.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
01-10-2025 12:30 AM
Hi,
Try to use current.variables.<VARIABLE_NAME> in the flow action script to get the latest value
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
01-10-2025 02:13 AM
Hi @snbansode ,
Please have a look on below screenshots
My flow is like once request is generated then First task is generated.
Fulfiller of that task is selects a group on catalog variables. further,
Second task is created and assigned to the group which is selected by fulfiller of first task.
Please mark my response as correct and helpful if it helped solved your question.
Thanks,
Rohit Suryawanshi
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
01-10-2025 02:33 AM
OOB Get Catalog variable action will always give outdated value and not the latest one.
to ensure it picks the latest value here is the workaround
The "Get Catalog Variables" Flow Action will return Outdated Variables
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
01-13-2025 05:35 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