Configure Slack Chat History Archiving
Configure archiving for a Slack integration to store conversation history with the Business Object record once it reaches the end of its Lifecycle. When the Business Object record reaches the end of its Lifecycle, the Slack channel is automatically archived.
Prerequisites:
- The third-party chat integration must be configured. See Configure Slack for the Related Items Pane.
- The Business Object used by the chat integration must have a lifecycle and final state set. See Define Lifecycle Properties for a Business Object.
For CSM 10.2.0 or later versions, use the Business Object Lifecycle Editor to add a life cycle to a Business Object. See: Open the Lifecycle Editor.
- Users who will save the Business Object record in its final state must have privileges to save chat history. See Third-party Chat Integration Security Rights.
The Business Object used with the Slack integration must be configured to store history and chat-related attributes must be applied to the Group Member used to store history.
To create chat history archiving:
- Create a Blueprint.
- From the Object Manager, select the Business Object that is configured to integrate with Slack. For example, select Incident.
- Edit the Business Object, and then select the Bus Ob Properties button.
- Select the History page.
- From the Chat history drop-down list, select the Group Member that will store Slack conversations. For example, select Journal - Remote Support History.
- Select OK.
- From the Object Manager, edit the Group Member that will store Slack conversations. For example, edit Journal - Remote Support History from the Supporting objects tree.
- Create or modify three text fields that will store data from Slack with the following field settings. (General attributes are stored on the Advanced page for each field. See Define Advanced Properties for a Field.)
- Chat Conversation
- Description: Stores formatted conversations.
- Field Length: Max allowed
- General attribute: ChatConversation.
- Chat History
- Description: Stores JSON from Slack.
- Field Length: Max allowed
- General attribute: HistoryDetails.
- Chat Timestamp
- Description: Adds date/time information to conversations.
- Field Length: Max allowed
- General attribute: ChatConversationWithTime
The Chat Timestamp field is optional.
- Chat Conversation
- Publish the Blueprint.