Step Name | Description |
---|---|
Start | The event searches for the Salesforce platform event name, that is, the Salesforce connection incident. |
New/Update Incident trigger | When the incident is created the event in Salesforce trigger the process execution. |
Assign Salesforce Incident | Assigns the Salesforce incident to a temporary incident ID. |
Prepare Incident Object | Parses the event and assigns values. |
Is Description empty | Verifies whether the incident description is empty. If it is empty, an error occurs, and the process ends. Otherwise, the process continues to the next step. |
Get Access Token | Gets an access token to authorize all the connection requests. |
Search User in ServiceNow | Searches for the user if it is specified in the Salesforce incident. |
Get User ID | Saves the user ID. |
Is User ID missing in ServiceNow | If the user ID is missing in ServiceNow, creates a user in ServiceNow and gets the user ID. Otherwise, the process continues to the next step. |
Search Incident in ServiceNow | Searches for the incident by description. If the incident description is modified in Salesforce, a new incident will be created in ServiceNow. |
Get Incident ID | Gets the incident ID. |
Is Incident ID missing in ServiceNow | Verifies whether the incident ID is missing in ServiceNow. If the incident ID exists, updates the incident. Otherwise, creates a new incident. |
End | Ends the process. |