Start with the 'Process Setup and Change Over' model
Switch to the Flow Properties tab
Select Additional Properties Definition
Switch Parameter Context to Object
Create a new variable here
'Obj_PartType' – Integer
Select both 'P1' and 'P2' and Customize
Select Process Extensions/Event Handling
Under ObjectActivated Insert five lines
Line 1 - Condition Action, Edit and Enter -
ObjectType == 'Part1'
Read more