The Request state doesn't change to closed after stage is closed

Pedram Haghzab1
Mega Expert

Hello,

I'm working on a simple flow where it creates a task. Once the task is closed, then it should close he RITM as well as REQ. The challenge is even though the task is closed and I created an update action as well as stage to closed them, still the state stays open. Only stage closes. Here is a screenshot:

find_real_file.png

 

Not sure if I'm doing something wrong or something is broken.


***** If I use the test function in the flow designer, it shows that it works as expected. meaning it changes the state to closed complete. It just doesn't work when I create a test request.

 

Thanks

2 REPLIES 2

Dan H
Tera Guru

It seems likely that you are facing an issue with a conflicting business rule. With it working in the test functionality in Flow Designer and not when you create an actual request.

Can you check business rules that are configured on the SCTASK [sc_task] table, maybe add a filter to show [Script] contains [state]. One of these business rules may be overriding the functionality of the flow 

 

Please mark my answer as Correct/Helpful based on impact

Regards,

Dan H

Hello,

So these are what I see on task and req/item tables. They don't seem to have any changes to them from OOTB:

REQ/RITM:
find_real_file.png

 

TASK:

find_real_file.png

 

Also just an FYI: If I uncheck the wait box in the catalog action, then it put the state change to closed complete. It is not ideal since the task is not completed yet. Just an observation I noticed.