The Request state doesn't change to closed after stage is closed
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎03-01-2022 08:40 AM
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:
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
- Labels:
-
flow designer

- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎03-01-2022 09:47 AM
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
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎03-01-2022 10:02 AM
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:
TASK:
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.