Create a Collaboration Action
Using the Administration UI, you can set up or create different collaboration actions.
Let's see how to set up a collaboration action to start an internal conversation in an help desk request with a user in Microsoft Teams. You can also define which attributes of the business object can be shared with Microsoft Teams as part of the internal conversation.
This example is for starting an internal conversation in an help desk request. You can also use any other suitable action names different from those given in the examples. For this example:
-
A child action would be to create a Reply to Help Desk Request button. It's a child of the first message received in Microsoft Teams from Help Desk.
-
Further, a child of the Reply to Help Desk Request child action would be to create a Submit Reply action. When a Microsoft Teams user enters a message and clicks Submit Reply, the message goes to Help Desk.
These two child actions have been described in the two subsequent topics.
To set up a collaboration action using the Administration UI:
-
Sign in as an administrator.
-
Navigate to the Setup and Maintenance work area and open the Tasks panel tab.
-
Search for and click the Manage Collaboration Actions task.
The All Collaboration Actions page opens in a new tab.
-
Click Create Collaboration Action.
-
In the Action Details region, specify the following details:
-
Action Name: Specify a name. For example: Start Internal Conversation in help desk request.
-
The Action field is automatically populated.
-
Description: Add a suitable description.
-
Action Code: Specify an action code of your choice. For example:
start-collab-on-SR
. -
Business Object: Select the business object on which you're creating the collaboration action.
-
Action Type: From this drop-down list, select Start a Collaboration Conversation.
Note:For this Start a Collaboration Conversation action, the following fields aren't required: Action Method, Display Sequence, and User Interface Component.
-
-
Click Next.
-
In the Request Details region, specify the following details:
-
Request Content Type: This field is automatically populated.
-
Request End Point: Enter the following end point:
/crmRestApi/resources/latest/hrHelpDeskRequests?q=SrId=[[SrId], or /crmRestApi/resources/latest/internalServiceRequests?q=SrId=[[SrId]
The
/crmRestApi/resources/latest/hrHelpDeskRequests (or internalServiceRequest)
part is automatically populated in the field. To facilitate querying the Help Desk object using the primary key field, you're appending the following at the end:?q*Srid*[[Srid]]
-
Request Payload: You can skip this field.
-
-
Click Next.
-
In the Response Details region, specify the following details:
-
Response Visibility: From this drop-down list, select Public.
-
Response Type: From this drop-down list, select Action Attributes.
-
Response Content Type: This field is automatically populated.
-
Response Payload: You can skip this field.
-
-
Click Next.
-
In the Add Action Attribute region, you must add some Help Desk attributes that you would like to share with Microsoft Teams users when starting an internal conversation.
-
Click Add Attribute.
-
In the Add Action Attribute dialog box, enter the following details:
Note:See the table at the end of this step for some specific details that you must set for some attributes.
-
Attribute Name: Select a name from the drop-down list.
-
Display Name: Specify a suitable display name.
-
Data Type: Select the appropriate value from the drop-down list.
-
Default Value: Specify a default value.
-
User Interface Component: This field can have the following values: List, Text Area, or Text Box. The default value is Text Box.
-
Display Sequence: Specify a high or low number depending on where you want the UI component to be displayed. For example: You can specify a higher number such as 12 if you want it to be displayed lower down on the page.
-
Business Object Identifier: If it's a field that's used for identifying a record, then you must select this switch.
Note:Let's say a to and fro message thread about a particular help desk request exists between Microsoft Teams and Help Desk. Then the linking of the messages is done through this field. You can select SR ID or SR number as the Business Object Identifier, because they both uniquely identify an SR.
-
Included in Request: If information is being sent from Microsoft Teams to Help Desk, then select this switch.
-
Included in Response: If you're sending a response message from Help Desk to Microsoft Teams, then select this switch.
-
End Point: This field is applicable only if you select the User Interface Component as List.
-
Option Label: This field is applicable only if you select the User Interface Component as List.
-
Option Value: This field is applicable only if you select the User Interface Component as List.
-
Deep Link: If required, provide a deep link that uniquely identifies the help desk request. For example: Link to request number that shows up in the Microsoft Teams UI:
crmUI/helpdesk/vp/edit-hrhd?srNumber=[[SrNumber]] or crmUI/helpdesk/vp/edit-isr?srNumber=[[SrNumber]]
. A To and From message thread about a particular Help Desk requests exists between Microsoft Teams and HR Help Desk. Then the linking of the messages is done through this field. You can select SR ID or SR number as the Business Object Identifier, because they both uniquely identify a request.
Here's a list of some specific details that you must set for the following common action attributes:
Action Attribute
Required Details
SrId
Select the Business Object Identifier switch.
SrNumber
Select the Include in Response switch.
SrNumber
Provide the following deep link in the Deep Link field:
crmUI/helpdesk/vp/edit-hrhd?srNumber=[[SrNumber]] or crmUI/helpdesk/vp/edit-isr?srNumber=[[SrNumber]]
Title
Select the Included in Response switch.
Problem Description
Select the Included in Response switch.
-
-
-
Click Save.