@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

May you provide a screenshot? I cannot seem to find the Advanced condition you're speaking of.

Please change the view to "Advanced" then you will be able to see the Advanced conditionimage.png

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

 

 

Thank you! This worked. However, I decided to enter @[user.sys_id:name] in string format in flow designer.

Mark Manders
Giga Patron

If your goal is to notify someone, why not just use the 'send email' or 'send notification' action from the flow? Since you have this in the flow, it means you always want to do this. The @ mention functionality is to notify someone from the ticket itself, while working on it. Automation can use normal notifications.

What is your use case? Why are you trying to get something so complex while the simple solution is there?


Please mark any helpful or correct solutions as such. That helps others find their solutions.
Mark