How could I check if product don't have a parent using code?

How could I check if product don't have a parent using code?

shanice_c
Not applicable
11 Views
1 Reply
Message 1 of 2

How could I check if product don't have a parent using code?

shanice_c
Not applicable

[ FlexSim 22.1.0 ]

Hello,

In my process flow I have several times combine a container and a product, the product becaomes a subnode of a pallet once they're combined. Then thay are split independently after some events, how could I check if product don't have a parent using code in Decide activity? Thank you!

0 Likes
Accepted solutions (1)
12 Views
1 Reply
Reply (1)
Message 2 of 2

jason_lightfootVL7B4
Autodesk
Autodesk
Accepted solution

Test for

objectexists(itemtype(item.up))
0 Likes