How to dynamically set an "Asignee" in the Alert activity | Community
Skip to main content
Sanket_Phawde
Level 2
May 13, 2019

How to dynamically set an "Asignee" in the Alert activity

  • May 13, 2019
  • 1 reply
  • 1981 views

Hi,

We have a situation wherein we have created an alert and Users must receive that alert (mail) automatically or the user name should get populated as assignee. So we need to dynamically set the assignee and send them the alert (email).

Please provide some solutions for this.

Regards,

Sanket Phawde

This post is no longer active and is closed to new replies. Need help? Start a new post to ask your question.

1 reply

pierrec70731455
Level 4
May 13, 2019

Hi,

in the Advanded tab you can use the activity object to set the assignee :

activity.assigneeType=0;

activity.assignee_id=108275955;

assigneeType = 0 means Group and assigneeType = 1 is an Operator.

Kind regards,

Pierre

szymons55769873
Level 2
January 11, 2021

Hi All

 

When I use the activity.assignee_id=108275955; approach it only works partially. When I first set it up and put a PK of operator it sends it OK that operator. But when I change the assignee_id to something else in the same workflow and send it again, it sends it to the first PK I specified, not the changed one.

Any hints?