Task not auto closed when called from third party, but from portal it is.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
09-18-2024 06:59 AM
Good afternoon everyone 🙂
I am integrating Sailpoint with ServiceNow and this is what is supposed to happen:
A request gets logged automatically from Sailpoint in ServiceNow. It is just for audit purposes so when the task is created it must be assigned to a specific group and immediately be in the closed complete state.
I used a catalog item for this and when I test from the portal it works 100%, but when I test from Postman the task stays in the open state.
I created a flow as well, of which I already provided screenshots in a previous post. (https://www.servicenow.com/community/developer-forum/flow-designer-variables-not-updating/m-p/304064...)
Any idea of how to fix this?
Regards
Thereza
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
09-18-2024 07:13 AM
Hi @Thereza Van der Can you confirm if REQ and RRITM states are getting updated?
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
09-18-2024 07:23 AM
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
09-18-2024 07:32 AM
@Thereza Van der For some reason I am not able to see all your screenshots but I think you should change your flow order to something like below
1) Create catalog task, set state = close complete
2) Update RITM
3) Update REQ
Also make sure if flow context is throwing any errors, when triggered from postman.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
09-18-2024 08:34 AM
I change the order of the flow but it did not make any difference :'( thanks for trying to assist anyway, I do appreciate it.