Plugin – Delete Async Operation if Successful

Leave a comment

In the Plugin Registration Tool in Dynamics 365, there is an option for PostOperation plugins whether to create a record in System Jobs on success or not. This option is “Delete AsyncOperation if StatusCode = Successful”:

We will go through the effects of turning this on and off.

First, uncheck the check box, so the record is created.

Our plugin runs on creating a new Account. Create an account:

Now, navigate to Settings->System Jobs. You will see a System Event for our plugin:

Now, let’s turn the option off by checking the box in the plugin step:

Create a new account. This time, the System Event will not display in System Jobs:

 

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

https://www.youtube.com/carldesouza

 

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 *