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:

 

Carl de Souza
Keep learning. Keep building.

Explore AI, agents & Microsoft technology.

I share practical ideas, tutorials, and videos about AI, AI agents, Microsoft technologies, and the Power Platform.

Subscribe on YouTube →
Carl de Souza Enterprise Architect at Microsoft · AI Technology Expert

Leave a Reply

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