Dynamically fetching assignee for workflow task step
Hi,
I am trying to create a workflow where I need to create a task and assign it dynamically to a group. I was able to achieve something similar using Dynamic Participant step but that would only send notifications.
The ecma script I used for dynamic participant step doesn't work with the task script. OOB objects like resource, graniteWorkItem, graniteWorkflowSession are all deemed as undefined in case of script used in the task step.
Is there anyway we can achieve this dynamic allocation in task step? Any leads would be appreciated.
Many thanks,
Raunak