For the managed package runtime, after you collect the Ids needed for assembling a Chatter post, you can create an Integration Procedure that sends a Chatter post to a user. The example post includes text, an image, and mentions of two other users.
This information is for Omnistudio for Managed Packages. For Omnistudio on standard runtime, see Omnistudio Help.
- Go to the Vlocity Integration Procedures tab. Click New.
- Provide a Name, Type, and SubType for the Integration Procedure. Click Save.
-
Drag a Chatter Action into the Structure panel. Assign these properties:
Property
Value
Subject Id
%SubjectId%
Mentioned User Id
%UserIdList%
Image Id
%ImageId%
Markup Type
Italic
Text
Here is the picture I mentioned. It has the Id %ImageId%.
- Drag a Response Action into the Structure panel and check Return Full Data JSON.
- Go to the Preview tab. Click Edit as JSON.
-
Paste JSON with this structure into the Input Parameters pane, substituting the Ids you collected in the first set of steps:
{ "ImageId": "06961000005R9q1AAC", "UserIdList": [ "0054N0000041jEvQAI", "0054N0000041qUlQAI" ], "SubjectId": "00561000000hjm3AAA" } - Click Execute.
- Go back to the People tab, then to the record page of the user you chose to receive the Chatter post.
- Scroll down to the Chatter pane and click the Refresh icon to see the latest Chatter post.