Notice: This website is an unofficial Microsoft Knowledge Base (hereinafter KB) archive and is intended to provide a reliable access to deleted content from Microsoft KB. All KB articles are owned by Microsoft Corporation. Read full disclaimer for more details.

Invalid Export - Business Process Entity Missing


View products that this article applies to.

Symptom

If you try and export a solution that contain Business Process Flows but not their corresponding entities, the export will fail with the following error: 

"Failed to export Business Process “<businessprocessflow_name>” because solution does not include corresponding Business Process entity “<businessprocessflowentity_name>”. If this is a newly created Business Process in Draft state, activate it once to generate the Business Process entity and include it in the solution."

You may also see a reference to error code 80060376.

↑ Back to the top


Cause

In the December 2016 update for Dynamics 365 Business Process Flow entities were introduced. These entities are backing entities for Business Process Flows and are created when Business Process Flows(BPFs) are first activated. During this entity creation, a dependency is also created between a given BPF and its corresponding entity. This is to enforce that a BPF and its entity are always treated as a pair and there is never a scenario where a BPF can be introduced without its backing entity in to an org. that is on the December 2016 update for Dynamics 365 or above. 

The following scenarios typically result in the failure called out above: 

Scenario 1 – BPF in draft state 

  1. Navigate to Settings -> Processes 

  1. Create a BPF and save it. Do not activate it. 

  1. Add the BPF created in step 1 above to a solution and try and export it. Export will fail. 

Scenario 2 – BPF activated from within solution explorer 

  1. Navigate to Settings -> Solutions 

  1. Create a new solution – SolutionA. 

  1. From within solution explorer for SolutionA created in step 2. above, create a new BPF from under the Processes node.  

  1. Once the BPF is finalized, activate it.  

  1. Click on ‘Export’ to export SolutionA.  

  1. Ignore the Missing Dependencies screen you are presented with that will call out the corresponding BPF entity that needs to be added to the solution.  

  1. Proceed to export SolutionA. Export will fail. 

↑ Back to the top


Resolution

In order to unblock solution export in the scenarios outlined above, before attempting to export, perform the following steps 

Scenario 1 – BPF in draft state 

  1. After creating a new BPF, activate it first so that its corresponding entity is generated. 
     

  1. Add this BPF to the solution you want to export. Adding the BPF will automatically add its corresponding entity to the solution as a dependency. 
     

  1. Export the solution and it should succeed. 

 

Scenario 2 – BPF activated from solution explorer 

  1. Manually add the required BPF entity(that is called out explicitly in the Missing Dependencies screen you will be presented with during solution export) to the solution. 

  1. Export the solution and it should succeed. 

↑ Back to the top


Keywords: bpf, bpf entity, invalid export, solution export, missing bpf entity, business process, business process flow, business process flows, business process flow entity

↑ Back to the top

Article Info
Article ID : 4337537
Revision : 4
Created on : 7/17/2018
Published on : 7/17/2018
Exists online : False
Views : 355