function readOnly(count){ }
Starting November 20, the site will be set to read-only. On December 4, 2023,
forum discussions will move to the Trailblazer Community.
+ Start a Discussion
Bryce Russell 10Bryce Russell 10 

How can users select people to @mention in a flow?

We have a flow invoked with a button on various objects, which will create a new case.  After case creation, we'd like to be able to post to a user-selected set of people in chatter.  The trick is the people we need to @mention are not simply a group, nor are they directly referenced on the record.  Is there a way to provide users a picklist or other way to @mention their own list of people?

Example:
From the opportunity, User A hits the "Create Case" button, which invokes the flow "CreateSupportCase".  Screen lets User A post their question to support, and they'd also like a chatter post to Manager B, Accounting Rep C, and Developer D. Since those 4 users aren't in a chatter group, we can't just post to the group User A is in.  

We've managed to build the flow and get successful chatter posts, but the @mentions of specified users is where we're stumped.  Any guidance would be greatly appreciated!

Thank you,
Bryce
Bryce Russell 10Bryce Russell 10
Hello Shruti, thank you for your reply.  However, that post only discusses how to mention related users.  As mentioned above, I'm trying to let users select targets that are not related to the record.  Is there a way to let users pick multiple targets from a dropdown of all active users?

Thank you!