SAP Cloud ALM Integration with External Chat Systems
SAP Cloud ALM can forward events to external chat tools to create messages in chat channels. This page describes the setup and the mapping definition of the integration.
SAP Cloud ALM can forward events to external chat tools to create messages in chat channels. This page describes the setup and the mapping definition of the integration.
Any chat tool can be connected to SAP Cloud ALM using the provided External API Integration capabilities. Depending on the environment the following integration types have to be distinguished.
SAP Cloud ALM provides a ready-to-use integration with Microsoft Teams including a pre-defined API mapping. Only the maintenance of an SAP BTP destination to Teams with authentication information is required. In case of advanced needs, new mapping file can be created by the user.
The chat tool must:
If the chat tools do not match the requirements for a simple integration, an integration can still be achieved by using SAP Integration Suite or 3rd party API Integration HUB platform.
It is recommended to include SAP Cloud ALM partners in such projects to accelerate the implementation and to ensure long-term support of the solution.
To connect from SAP Cloud ALM to the chat tool a destination must be configured in the BTP subaccount, where SAP Cloud ALM is deployed.
To map and convert the available values of the event situation outbound integration with the API definition of the target system a field or value mapping is necessary in most cases. This mapping can be achieved for simple integrations by providing a mapping file in Cloud ALM directly. The possible options for mappings are described in the Cloud ALM documentation. The format of the event situation API is also documented there.
As there is no update expected from the chat tool and updates will always create a new message in the chat channel. There is no expected return value from the chat tool. Accordingly, there is also no mapping between the chat message and the even situation maintained in SAP Cloud ALM.
If the provided mapping capabilities are not sufficient or if a single API call a single API call from SAP Cloud ALM to the chat tool is not sufficient to create a message, additional integration logic must be defined in an integration system.
With the destination and the mapping file the definition of the external API endpoint in Cloud ALM can be completed by creating a webhook and the subscription. To make the integration available as for sending of chat messages, the “External Resource Type” must be “Chat”. As “Destination Type” the name of the chat tool can be used (free text field). The “Resource Type” in the subscription definition must be set to “Event Situation”.
After the subscription is fully maintained as explained above the available subscriptions of type chat are then available in the event configuration for “Send Chat message” event action. To enable chat message creation the switch send chat message needs to be turned on and the subscription with the mapping and webhook for this event type can be selected.
The destination is created in SAP BTP Cockpit.
The rest of the steps is performed in SAP Cloud ALM.
After creating the webhook you now can create the subscription.
After configuring the integration between SAP Cloud ALM and ServiceNow you can now use this configuration to send chat messages from events.