- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
3 weeks ago
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.
Solved! Go to Solution.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
3 weeks ago - last edited 3 weeks ago
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)
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
3 weeks ago
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.
