Flow doesn't automatically run in Catalog item even if request item is automatically set to approved
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
07-02-2024 06:02 PM
Good day devs!
Can someone help me resolve this issue with regards to the flow of my catalog item? It won't run automatically even if it was set as a process engine flow. I have also checked the "Service Catalog Request" workflow and it is already auto-approved.
I can only run the flow if I test it.
I appreciate any help that will do. Thank you in advance.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
07-02-2024 10:00 PM - edited 07-02-2024 10:01 PM
Sure, here @JohnnySnow.
The catalog item is active and I have already set the intended flow.
The flow is active and it has been correctly mapped because it runs properly when using the test button.
This flow before was running properly when it was first implemented but my colleague changed something in the workflow because their flow didn't automatically work. Now my flow doesn't work anymore after that haha.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
07-02-2024 10:10 PM - edited 07-02-2024 10:11 PM
The screenshot configurations looks fine, what I can suggest now is .
Open the flow, Click on test, add in some RITM record and test.
Check the execution logs & system>all logs to check it shows some error.
do let us know how it goes
Johnny
Please mark this response as correct or helpful if it assisted you with your question.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
07-02-2024 10:11 PM
Below links could be helpful :
https://www.servicenow.com/community/itsm-forum/flow-not-triggered-by-service-catalog/m-p/556209
https://support.servicenow.com/kb?id=kb_article_view&sysparm_article=KB0998617
Also, try to deactivate and re-activate the flow for it to be recompiled.
Please mark this response as correct and helpful if it assisted you with your question.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
07-02-2024 10:14 PM
Hi @tidert_24 ,
Can you please check whether trigger condition is set to "Service catalog" and also please mention the catalog name in "Get catalog variables" action, Thanks!
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
07-02-2024 10:24 PM
Hello @tidert_24 ,
Once you submit the request, please verify the flow execution created for the request or not?
If not the then your flow will be in the queue of execution. For that please check your events under sys logs where you will get to know flow is in which state, like ready, queue or processed. search under parm1 your flow name.
If its in queue, multiple transaction causing your flow is still in queue on your instance.
go to active transaction or all active transaction and kill the active transaction those which are not required, might later wait for 1 min.
later flow will definitely getting triggered.
Thanks!
Kalpesh