assign a HR Task to the user who opened the HR case
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
03-24-2024 11:11 AM - edited 03-24-2024 11:14 AM
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 .
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
03-25-2024 12:37 AM
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 Chandra