Hey All,
I am running into this issue while trying to export a solution from our DEV environment to our PPE environment.
I have two business processes linked to the case entity; "Case - In Person" & "Case - Set Template" that are experiencing this issue. I have other process in this solution that are working correctly. I am able to create and export this solution without issue (making sure that everything is published). On import, there are no errors or warnings (including looking in the import logs).
However when I look at my process list I can see that these two process above are not activated in PPE. I'm at a loss for why this is as other items I've exported in this solution are activated correctly in both DEV and PPE.
I would appreciate any help/feedback on this.
Thank you,
Taylor
*This post is locked for comments
Also we had selected Override option.
With managed solution what we observed is that it will change the state of the workflow whether new or existing. It won't change the ownership.
Answer:
Finally figured it out.
By default, if it's a new process- Dynamics will assign whatever state (activated/deactivated) whenever you export or import it.
In my particular scenario, this was an existing process had been imported to ppe already as de-activated. When I activated and imported it, the state did not change because Dynamics by default will not change the activated/deactivated state of an existing process.
Hi Taylor,
Normally, CRM checks for various dependencies during import. sometimes, there is a chance that we miss them(sometimes we might even not know that it is the dependency). I think your's also might be the same root cause
So, its better to try alternate approaches like this.
<<Please mark my answer as verified if it resolved your Query>>
Hey Rawish,
I reviewed the BP's between environments and it's all identical for this process. Below I took Lathin's advice and after activating it manually, I re-imported my solution. This resolved the issue, but I am still uncertain of the root cause.
Thanks
Hey Lathin,
I tried to activate it and it worked without error. I then re-imported the solution from dev-ppe to see if this would overwrite the changes I made in PPE and it did not. It did however give me an warning message saying
"The original process has been deactivated and replaced with the process included in this solution".
While technically this has solved the issue, I am still at a loss for why this is happening and have nothing to understand . I am wondering if this is a CRM bug.
Thanks,
Taylor
This Might Happen due to some refernces missing in target environment.
Try Activating it manually after importing the solution. this will show you exact error if any
Hi Taylor,
I have experienced this issue and it generally happens if you have hard coded any lookups in the BP ( or may branched logic uses it).
try to avoid them or if you really need them - make sure the GUIDS of the ref data( referenced in the BP)
apart from i dont see any reason why it should be deactivated.
Mohamed Amine Mahmoudi
83
Super User 2025 Season 1
Community Member
54
Victor Onyebuchi
6