Unified Service Desk – CloseActivity Action

Leave a comment

Let’s say you would like to close a Dynamics 365 activity through USD. There is an action in the CRM Global Manager called CloseActivity that makes this very easy.

Let’s say we have the following activity in Dynamics 365, which is of type Phone Call:

We can set the state and  status code/reason based on the values here:

State/State CodeStatus Code/Reason
0 : Open1 : Open
1 : Completed2 : Made
4 : Received
2 : Canceled3 : Canceled
Run this through the debugger:

The activity in Dynamics 365 is now Completed:

 

ABOUT CARL DE SOUZA

Carl de Souza is a developer and architect focusing on Microsoft Dynamics 365, Power BI, Azure, and AI.

carldesouza.comLinkedIn Twitter | YouTube

 

Leave a Reply

Your email address will not be published. Required fields are marked *