- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎09-12-2023 06:23 AM
Hello everyone,
I'm facing this issue for RITMs created by only one particular catalog item. In this catalog item's workflow, we're updating state to 'Closed complete' upon completing the task.
When its catalog tasks are updated to 'Closed complete' state, RITM was supposed to be updated to inactive state, but its still remains active with 'Closed complete' state.
I used debugger to check if there is any business rule that updates 'active' field for task, but didn't found any.
Can anyone help me figure out what could be the issue?
Solved! Go to Solution.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎09-12-2023 07:46 AM
Hi @Piyush Shewale1,
There is a OOB BR on sc_req_item table that is "Set Active Flag". You can check the conditions in this BR. Also, cross check if there are any active catalog tasks in the requests.
The ootb rule manages active but it is linked to stage and not state. So you need to manage the stage not just the state. If you are using workflow, make sure the stage is set to one of the expected values. (E.g. complete, Request Cancelled, closed_incomplete or closed_skipped)
Mark this answer as correct and helpful if it solves your issue.
Regards,
Siva Jyothi M.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎09-12-2023 07:46 AM
Hi @Piyush Shewale1,
There is a OOB BR on sc_req_item table that is "Set Active Flag". You can check the conditions in this BR. Also, cross check if there are any active catalog tasks in the requests.
The ootb rule manages active but it is linked to stage and not state. So you need to manage the stage not just the state. If you are using workflow, make sure the stage is set to one of the expected values. (E.g. complete, Request Cancelled, closed_incomplete or closed_skipped)
Mark this answer as correct and helpful if it solves your issue.
Regards,
Siva Jyothi M.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎09-13-2023 06:35 AM
Hi @Siva Jyothi M,
I got this issue fixed by updating task stage to 'Complete' in workflow, which then updated tasks state as you've mentioned.
Thanks.