Duplicate tasks being generated from a workflow. Any ideas on how to fix that?
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎05-23-2022 01:54 AM
Hi,
So there is this big workflow called 'Access Workflow'. It is used in many catalog itemsin the company. In one of the cat items, once a request is generated and a RITM is created, after the approvals (line manager and specialist) a SCTASK is generated. If you set state=closed complete the task or state=close skipped the tasks, a duplicate task is generated rightaway. Only at state=closed incomplete the task is not duplicated.
Another thing is if you set the first task to closed complete and second duplicate to closed incomplete, the first one also changes states to closed incomplete, but this doesn't happen the other way around.
Any ideas on what can be causing this or how to fix this issue.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎05-23-2022 03:46 AM
You likely have one or more Business Rules running on the sc_task (or task) table, but check the workflow first to see if it there are conditions on this Catalog Task that lead to another Catalog Task with the same name. There shouldn't be very many Business Rules on the sc_task table so look for ones with an sc_task GlideRecord in the advanced script or a script include called by the Business Rule as this is what would be needed to create a new sc_task record and/or change the State of another record.