Announcement

Collapse
No announcement yet.

in-app Notification for newly created users

Collapse
X
 
  • Filter
  • Time
  • Show
Clear All
new posts

  • in-app Notification for newly created users

    I am trying to figure out how to create a workflow that creates an in-app notification for new user, like "Welcome to CRM".
    This formula did not work for target entity update:
    $notif_id = record\create('Notification','message','Welcome to CRM');
    entity\addLinkMultipleId('Notification', $notif_id);​​

  • #2
    Hi rouhu,

    You can create a notification with an Create Notification action in Workflow without using a formula.
    Please note that this notification will not be displayed as a pop-up window, it can be seen by clicking on the bell in the upper right corner of the instance.

    Comment


    • #3
      I did not see the possibility to pickup user id in "Create Notification" destinations.

      Anyway, this worked:
      Update Target Record » System User
      entity\setAttribute('createdById', id);

      Create Notification
      Recipient
      Related: Created By
      Message Template
      Welcome to CRM​

      Comment

      Working...
      X