Task not auto closed when called from third party, but from portal it is.

Thereza Van der
Tera Contributor

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

Sailpoint_Postman.png

Sailpoint_Portal.png

4 REPLIES 4

Anantha Gowrara
Kilo Sage

Hi @Thereza Van der Can you confirm if REQ and RRITM states are getting updated?

 

Hi Anantha

 

It does not seem to be updated.

Anantha Gowrara
Kilo Sage

@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.

I change the order of the flow but it did not make any difference :'( thanks for trying to assist anyway, I do appreciate it.