Personalized Community is here!
Quickly customize your community to find the content you seek.
Have questions on moving to the cloud? Visit the Dynamics 365 Migration Community today! Microsoft’s extensive network of Dynamics AX and Dynamics CRM experts can help.
2022 Release Wave 1 PlanDynamics 365 release plan for the 2022 release wave 1 describes all new features releasing from April 2022 through September 2022.
2022 release wave 1 plan
The FastTrack program is designed to help you accelerate your Dynamics 365 deployment with confidence.
FastTrack Community | FastTrack Program | Finance and Operations TechTalks | Customer Engagement TechTalks | Upcoming TechTalks | All TechTalks
Actually I am tring to create a workflow when a Stage change in the BPF in order to calculate a duration per stage
The issue is that when I change a stage the workflow(a background workflow) is executed twice ==> in consequence
I got 2 records created in my new entity (stage duration ) per stage per opportunity
This is my workflow :
This the system task the workflow is executed twice
Consequence 2 records created in the same time
Anyone had already faced the same issue ? Please let me know
PS: I work on dynamics crm 2015
you must be having any other trigger on stage/all fields update. check it in plugin registration tool.
Make sure of having check condition on date before updating.
THANKS a lot Sreevalli
But what do you mean by : 'Make sure of having check condition on date before updating' which kind of check in condition ?
If you are using separate date field to capture the duration, then it will resolve, if you check the field value is null then only update. Because if it is already filled with your 1st update then it will stop the workflow in the second execute.
Please check the condition properly in which your workflow is triggering and check what action you are doing on stage change like save , update under stage change operation whether its JS/ plugin/workflow itself . You can not control running workflow twice by putting additional validation , but you can skip your code where you are doing additional action by which workflow triggering twice.
So I believe you can do this , as you are aware of the functionality where you are doing what.
Business Applications communities