Hi Ramya,
If I understand correctly, you want to automatically assign the ‘lead’ user to a taskactivity when the taskactivity is created.
This is do-able in a microflow. You will either need to add a string attribute to the Task Activity as you suggested above or you could add an association from the task activity entity to the User entity to be specifically populated with Lead Users.
When you create a taskactivity entity you will need to create a retrieve activity and use Xpath to retrieve a registration entity with the user association = $currentUser. Then set the the leadName attribute of the taskactivity to the value of the ReportingTo attribute from the registration.
Hope this helps you with your question.
Danny
Hi Ramya,
If I understand correctly, you want to automatically assign the ‘lead’ user to a taskactivity when the taskactivity is created.
This is do-able in a microflow. You will either need to add a string attribute to the Task Activity as you suggested above or you could add an association from the task activity entity to the User entity to be specifically populated with Lead Users.
When you create a taskactivity entity you will need to create a retrieve activity and use Xpath to retrieve a registration entity with the user association = $currentUser. Then set the the leadName attribute of the taskactivity to the value of the ReportingTo attribute from the registration.
Hope this helps you with you question.
Danny