@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

yashkamde
Mega Sage

Hello @TerryC03 ,

 

did that worked ?

If not !! try using @[sys_id] instead of @DisplayName. That’s the format Flow Designer needs to trigger the Activity Stream @mention notifications.

var requestedBySysId = fd_data.trigger.current.requested_by.sys_id;
var notes = "@[" + requestedBySysId + "] test123";
return notes;

 

If my response helped mark as helpful and accept the solution.