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 Code | Status Code/Reason |
---|---|
0 : Open | 1 : Open |
1 : Completed | 2 : Made |
4 : Received | |
2 : Canceled | 3 : Canceled |
Run this through the debugger:
The activity in Dynamics 365 is now Completed:
THANKS FOR READING. BEFORE YOU LEAVE, I NEED YOUR HELP.
I AM SPENDING MORE TIME THESE DAYS CREATING YOUTUBE VIDEOS TO HELP PEOPLE LEARN THE MICROSOFT POWER PLATFORM.
IF YOU WOULD LIKE TO SEE HOW I BUILD APPS, OR FIND SOMETHING USEFUL READING MY BLOG, I WOULD REALLY APPRECIATE YOU SUBSCRIBING TO MY YOUTUBE CHANNEL.
THANK YOU, AND LET'S KEEP LEARNING TOGETHER.
CARL