# Error for Flow API in Business/DEEs code after migration to v11.1.5

**URL:** <https://community.criticalmanufacturing.com/t/error-for-flow-api-in-business-dees-code-after-migration-to-v11-1-5/604>\
**Category:** Extensibility\
**Tags:** v11.1, business-rules\
**Created:** [May 4, 2026, 6:38am UTC](https://community.criticalmanufacturing.com/t/error-for-flow-api-in-business-dees-code-after-migration-to-v11-1-5/604 "2026-05-04T06:38:27Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![sandip\_dhakane](https://avatars.discourse-cdn.com/v4/letter/s/eb8c5e/32.png) [@sandip\_dhakane](https://community.criticalmanufacturing.com/u/sandip_dhakane)\
**Post date:** [May 4, 2026, 6:38am UTC](https://community.criticalmanufacturing.com/t/error-for-flow-api-in-business-dees-code-after-migration-to-v11-1-5/604/1 "2026-05-04T06:38:27Z")

</div>

Hi Team,

We have migrated our Business/DEEs code to v11.1.5.

Afte upgrade, there are changes in Flow API where CM has removed below properties.

Flow.ChildType& ISubFlow.TargetEntity

I have gone through below CM Documentation portal for Flow API changes but unable to find alternative code for above properties.

[Flow API Changes - CriticalManufacturing Developer Portal](https://developer.criticalmanufacturing.com/11.0/migration/1100/flow_api_changes_1100/#flow-orchestration)

Can some please help me with this. Highly Appreciate your help !!

Thanks,

SandipDhakane

---

<div class="post-metadata">

**Author:** ![maximilian\_jung](https://avatars.discourse-cdn.com/v4/letter/m/a9a28c/32.png) [@maximilian\_jung](https://community.criticalmanufacturing.com/u/maximilian_jung)\
**Post date:** [May 5, 2026, 7:11am UTC](https://community.criticalmanufacturing.com/t/error-for-flow-api-in-business-dees-code-after-migration-to-v11-1-5/604/2 "2026-05-05T07:11:33Z")

</div>

Hi Sandip,

You can check if a flow contains Flows or Steps as childs (or both) via the boolean properties IFlow.ContainsSteps or IFlow.ContainsFlows respectively.  
The ChildType is deprecated because the flow can now contain both flows and steps, so it makes no sense to have a single property defining it.

The flow now has no longer SubFlows or FlowSteps, just FlowItems.

Each flowItem has two properties: IFlowItem.Step and IFlowItem.Flow  
The property is either the respective object or null, depending on what the child actually is.

So instead of ISubFlow.TargetEntity you can just use IFlowItem.Flow

All the best,  
Maximilian

---

<div class="post-metadata">

**Author:** ![sandip\_dhakane](https://avatars.discourse-cdn.com/v4/letter/s/eb8c5e/32.png) [@sandip\_dhakane](https://community.criticalmanufacturing.com/u/sandip_dhakane)\
**Post date:** [May 6, 2026, 2:43am UTC](https://community.criticalmanufacturing.com/t/error-for-flow-api-in-business-dees-code-after-migration-to-v11-1-5/604/3 "2026-05-06T02:43:27Z")

</div>

Thanks for the support, Maximilian. Your insights were spot on, and the solution worked perfectly to resolve our issue.I appreciate the support.
