Notifications
Announcements
No record found.
HI,
I have one Plugin and workflow are registered on the same event, and i want to run workflow before the plugin, without using any third party tool, Is it possible.
thanks,
*This post is locked for comments
Why cant you try with custom activity workflow. ?
This is help you to achieve functionality of workflow as well as plugin.
Refer this blog for more info:
https://www.inogic.com/blog/2013/01/custom-workflow-activities-for-microsoft-dynamics-crm-online/
Hi,
You can create a custom workflow (that will do the same work as the plugin) and call it inside your existing workflow.
Or create a new child workflow that will callto the new custom workflow and add a step to your existing workflow that calls the child workflow.
I hope this helps :)
Please mark as verified if the answer is helpful.
If it is create Event and your workflow is Async, then plugin will always execute first, no matter what. You need to hook the workflow logic to be a part of plugin or create a new plugin and set execution order of the plugin accordingly.
As it is by CRM design plugin will always get executed before Aysnc workflows, I believe no tool also will support you go against CRM principle.
Blog : https://vjcity.blogspot.com/
Try out by converting your workflow to synchronous workflow by clicking "Convert to real-time workflow" button on the top of workflow by deactivating your asynchronous workflow.
Register your plugin asynchronously and then test.
The synchronous workflow should execute before asynchronous plugin.
Could you please share some details about your requirement.I would recommend to implement workflow business logic in the plugin itself if possible.
Always the Plugins will execute prior to the workflow. It's well explained in this blog,
andz88.wordpress.com/.../
There are different ways you can achieve this,
1. Convert the plugin code to a custom workflow activity.
2. You can create an action and change the plugin code and register the plugin message to this action. Call this action in your workflow.
If we know your requirement then we can suggest you the best approach.
Plugin executes before workflow hence if you want to execute it then convert it to plugin.
Under review
Thank you for your reply! To ensure a great experience for everyone, your content is awaiting approval by our Community Managers. Please check back later.
As AI tools become more common, we’re introducing a Responsible AI Use…
We are honored to recognize Neeraj Kumar as our Community Spotlight honoree for…
These are the community rock stars!
Stay up to date on forum activity by subscribing.
SA-08121319-0 4
Calum MacFarlane 4
Alex Fun Wei Jie 2