Skip to main content

Notifications

Community site session details

Community site session details

Session Id :
Microsoft Dynamics CRM (Archived)

Business Processes are not activated on solution import to new environment

(0) ShareShare
ReportReport
Posted on by 165

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

  • Verified answer
    Nishant Rana Profile Picture
    11,325 Microsoft Employee on at
    RE: Business Processes are not activated on solution import to new environment

    Also we had selected Override option.

  • Suggested answer
    Nishant Rana Profile Picture
    11,325 Microsoft Employee on at
    RE: Business Processes are not activated on solution import to new environment

    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.

  • Verified answer
    tayapr Profile Picture
    165 on at
    RE: Business Processes are not activated on solution import to new environment

    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.

    6888.err.png

  • Suggested answer
    Goutham A Profile Picture
    2 on at
    RE: Business Processes are not activated on solution import to new environment

    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>>

  • tayapr Profile Picture
    165 on at
    RE: Business Processes are not activated on solution import to new environment

    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

  • tayapr Profile Picture
    165 on at
    RE: Business Processes are not activated on solution import to new environment

    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

  • Suggested answer
    Goutham A Profile Picture
    2 on at
    RE: Business Processes are not activated on solution import to new environment

    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

  • Suggested answer
    Rawish Kumar Profile Picture
    13,758 on at
    RE: Business Processes are not activated on solution import to new environment

    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.

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.

Helpful resources

Quick Links

Announcing the Engage with the Community forum!

This forum is your space to connect, share, and grow!

🌸 Community Spring Festival 2025 Challenge Winners! 🌸

Congratulations to all our community participants!

Adis Hodzic – Community Spotlight

We are honored to recognize Adis Hodzic as our May 2025 Community…

Leaderboard > Microsoft Dynamics CRM (Archived)

#1
Mohamed Amine Mahmoudi Profile Picture

Mohamed Amine Mahmoudi 83 Super User 2025 Season 1

#2
Community Member Profile Picture

Community Member 54

#3
Victor Onyebuchi Profile Picture

Victor Onyebuchi 6

Overall leaderboard

Featured topics

Product updates

Dynamics 365 release plans