Flow Designer wait for catalog tasks to close before updating Request state to closed complete.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
06-25-2024 10:09 AM
Hello,
Currently, once the request is created and approved, one task gets generated. After the first task is closed, a second task is created. The requirement is to change the RITM state to "Closed Complete" only when the second task is closed. However, in my case, the RITM state changes to "Closed Complete" immediately after the first task is closed, and then the second task gets created. Can someone please help? This issue might be due to an existing business rule for all catalog items. Please see the script below.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
06-26-2024 04:32 AM
Hi @Ria,
Thanks, so the issue is due to the Business Rule.
I guess a quick win would be adding a condition to the BR to ensure it doesn't run on specific conditions.
But if I were you, I would consider refactoring the Business Rule.
There must be a business requirement behind the BR and you need to understand it before modifying it. Also, the BR is not well-written nor it's not very clear what it's trying to achieve.