- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
03-18-2024 11:02 AM
Hi,
I have created the workflow with two create task activity. Now I want to autopopulate watchlist with the Requested_By user name on Task 1. How to achieve this By using workflow script?
Thanks in Advance,
Rajesh Bandila
Solved! Go to Solution.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
03-18-2024 11:18 AM
Hi @Rajesh Bandila,
In the Workflow Create Task activity you can script by checking the Advanced checkbox. Attached an example
Thankyou.

- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
03-18-2024 11:10 AM
in the Create Task activity itself you can add script
ex. task.watch_list = current.<requested by field name>;
Please mark this response as correct or helpful if it assisted you with your question.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
03-18-2024 11:18 AM
Hi @Rajesh Bandila,
In the Workflow Create Task activity you can script by checking the Advanced checkbox. Attached an example
Thankyou.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
03-18-2024 10:42 PM
Thanks @Ramesh_Naidu
I have tried the above line of script on create task activity, but it's not working as expected.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
03-19-2024 02:22 AM
Thanks, the given line of code is working correctly on Workflow activity. I have given the wrong back end filed value earlier.
Regards,
Rajesh Bandila