Workflow issue

Ankita9793
Tera Contributor

Hi All,

 

my requirement is, 1st and 2nd tasks assigned to cannot be same.
can someone suggest what is wrong with the workflow, please refer attached screenshots

Scratchpad :

 

Ankita9793_0-1706771981791.png


Ankita9793_1-1706772032147.png

 

Ankita9793_2-1706772071661.png

 

 

2 REPLIES 2

Danish Bhairag2
Tera Sage
Tera Sage

Hi @Ankita9793 ,

 

Are you yourself assigning the assigned to? 

Also for that validation where assigned to cannot be same u should try creating an onChange client script on task table by adding some filters which should make sure that the script only triggers for ur case. from there u can actually validate this n make it empty plus also show an alert.

 

Thanks,

Danish

 

piyushsain
Tera Guru
Tera Guru

@Ankita9793 

Hi don't use Run Script Activity, in Catalog Task, click on Advanced and use 

workflow.scratchpad.taskid = task.sys_id

 

If my answer has helped with your question, please mark my answer as accepted solution and give a thumb up.
Regards,
Piyush Sain