if SC task sill open - request Item closed

Kishor Mudhili
Giga Guru

hello friends,

 

we have created Flow to create one SC Task, but customers adding multiple Sctasks to the requests.

 

if they closed any SCtask, automatically it's related RITM got closed, it should not happend because when all SCTasks are completed then Related RITM/REQ should be closed, 

i think it should be possible via BR, but not sure how I can 🙂

please help me how we can reproduce the issue. 

 

KishorMudhili_0-1669205919796.png

 

3 ACCEPTED SOLUTIONS

Hello,

 

Can you open the script tracer and then while you closing the sc task start it and then close the task this will give use the list of scripts running during that process. Also make sure your flow is inactive.

 

Saurav11_0-1669213630476.png

 

View solution in original post

if we removed the update conditions from Flow. it won't work . i have restored again then it's working ...

View solution in original post

Hello,

 

Yes that is because you are closing the RITM once the main sctask in the flow. Once you have created it let the RITM close through BR and not the flow remove that last step of closing the RITM if task is closed.

 

Please mark my answer as correct based on Impact.

View solution in original post

18 REPLIES 18

even not working..

 

KishorMudhili_0-1669213616547.png

 

@Kishor Mudhili  Have you written code also as mentioned?

 

If yes, first you need to check if any existing code available similar to this and disable it.

 

Please mark this as correct answer and helpful if it resolved, or mark this helpful if this help you to reach towards solution.

Thanks
Anubhav Ritolia
ServiceNow Rising Star 2023

if we removed the update conditions from Flow. it won't work . i have restored again then it's working ...

Hello,

 

Yes that is because you are closing the RITM once the main sctask in the flow. Once you have created it let the RITM close through BR and not the flow remove that last step of closing the RITM if task is closed.

 

Please mark my answer as correct based on Impact.