- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
09-06-2022 06:04 AM
Hello all 🙂
We're having an issue with RITMs not recieving a workflow upon creation. They're created by an external system through the regular table API.
RITMs are create correctly, but their workflow only trigger ever so often, the rest will just have the "start workflow" option on the record. Its not cancelled or similar, its simply not started from what I can tell; context is empty on these records.
Seems to happen at random, same order type, same catalog item, same workflow etc. - but this time it won't work.
Anyone had experience with this issue? Its kinda headscratching to be honest 😄
Solved! Go to Solution.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
09-07-2022 11:49 PM
Found out it was a BR that starts the workflow once inserted via the API. Was only set to trigger on update, which was the issue.
Thanks for the feetback though 🙂
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
09-06-2022 06:09 AM
Hi,
so if RITM is created using API the workflow doesn't start?
But if it is submitted manually then workflow starts?
regards
Ankur
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-06-2022 06:27 AM
Hi Ankur 🙂
Yes, we can create RITMs using ex. tryit (this is for technical catalog, so not on portal). Workflow trigger correctly.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
09-06-2022 06:59 AM
Hi,
how is RITM getting created?
If you are using Cart API then it generated RITM and REQ and then it should start RITM workflow.
regards
Ankur
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-06-2022 06:29 AM
Note: it does start sometimes while using the API, but more often than not it won't.