assign a HR Task to the user who opened the HR case

griddhaluru  so
Tera Contributor

I have a requirement where I have to assign a HR Task to the user who opened the HR case . we have a field "opened_by" on the HR Case table.

For this I have written a assignment rule targeting Hr task table .

current.assigned_to = current.parent.opened_by;

but the user name is not updating in assigned_to field on task table.

What modification do I need to do to achieve this .

griddhaluruso_0-1711304062925.png

 

1 REPLY 1

Ravi Chandra_K
Kilo Patron
Kilo Patron

Hi @griddhaluru 

Instead of location name, try giving sys id and see if it works.

Assignment rule is a server side script. You can try using log statements and check what values script is returning.

 

Please mark this answer as helpful and correct if helped 

Kind Regards,

Ravi Chandr