- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
08-13-2025 03:21 AM
I have created a rest api in service now which triggers a catalog item. I update the generated RITM's source field.
The source field on the RITM is used to identify whether the RITM was triggered through the API.
In the workflow, I'm performing certain actions based on the 'source' field.
but the issue is that the field gets updated later, while the workflow is checking it immediately. How can I ensure the workflow uses the updated value of the source field? Can we set RITM's value before ordering the catalog item?
Solved! Go to Solution.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
08-13-2025 08:00 AM
Hello @BhagyashriS8790
The field you mentioning is over RITM or is it variable?
If its field over RITM then you cannot set it when you call API. If its variable then while calling API do pass value for that variable and use it further.
Alternative you can try is in workflow the logic of checking value before happening try to keep wait or something so value is set and then you can utilize it further.
If my response has helped you hit helpful button and if your concern is solved do mark my response as correct.
Thanks & Regards
Viraj Hudlikar.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
08-13-2025 11:28 PM
Thank you for marking my response as helpful.
As per new community feature you can mark multiple responses as correct.
If my response helped please mark it correct as well so that it benefits future readers.
Ankur
✨ Certified Technical Architect || ✨ 9x ServiceNow MVP || ✨ ServiceNow Community Leader