@mentions working in flow designer

TerryC03
Tera Guru

Hello,

 

Is it possible to hard code an automated string in a flow designer step to activate the @mentions functionality (sending the Activity Stream @Mentions notification email)?

 

A step I currently have is something like

Action - Update Record

Table - Task

Field - Work Notes

var requestedBy = fd_data.trigger.current.requested_by.name;
var notes = "@" + requestedBy + " test123";
return notes;

I've tried placing requestedBy in [] brackets and tried requestedBy.user_name, but to no avail. Any help would be appreciated.

1 ACCEPTED SOLUTION

Another way.

In flow designer, you can use the format as below

@[user_sys_id:name]
where user_sys_id is the sys_user sys_id record
name is the display value of sys_user.name (not user ID field)

 

lochuynh33_0-1774364206991.png

 

 

View solution in original post

10 REPLIES 10

Huynh Loc
Mega Sage

Hi @TerryC03 ,

@mention has a dedicated notification (Activity Stream @Mention Email) that runs on the live_notification table when a record is inserted or updated.
Therefore, the relevant fields must be populated on this table in order to trigger the notification.

image.png

 

If this response was helpful, please consider marking it as Correct and Helpful. You may mark more than one reply as an accepted solution.

 

Ok. My table is different. I'll try that. Thank you.

Hello,

 

Thanks for the help, but changing the table did not work. Am I doing something wrong?

Hi @TerryC03 ,

I tested this in my PDI and noticed that the notification did not trigger due to the Advanced condition configured on it. After removing the Advanced condition from the notification (sys_id: 150055909f021200d5f9b3e2957fcf23), it worked as expected.

Please double-check on your end and let me know if you observe the same behavior.