Assign subsequent tasks to the same person who was assigned to the previous task
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
03-21-2024 09:33 AM
Hi All,
I hope you can help.
I have a request item that creates a task. It is mandatory that the task is assigned to a person before it is closed. I want any other tasks created on that RITM to have the same assignee as was on the closed task.
I only want this to occur in one catalog item only, so I cannot make any sweeping changes. I'm hoping to do this via workflow, or Catalog UI Policy or client script.
Any help would be appreciated 16:33
Cat
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
03-25-2024 03:56 AM
Hi James, apologies for the delay. The assigned to field is blank.
The tasks are being created via a workflow.
Thanks,
Cat
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
03-25-2024 12:27 PM
No worries, I realized there is a missing character in the query, it should be the following instead:
scTaskGr.addEncodedQuery('request_item=' + current.getValue('request_item') + '^active=false^assigned_to!=NULL');
If it still doesn't work, can you put some logs and try some debugging? Cheers