Assign subsequent tasks to the same person who was assigned to the previous task

Cat
Mega Guru

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

6 REPLIES 6

Hi James, apologies for the delay. The assigned to field is blank.

 

The tasks are being created via a workflow. 

 

Thanks,

 

Cat

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