How to assign a label to an item using process flow

How to assign a label to an item using process flow

theotime_g2
Not applicable
170 Views
1 Reply
Message 1 of 2

How to assign a label to an item using process flow

theotime_g2
Not applicable

[ FlexSim 22.1.1 ]

Hello,

I have a batch of products packed on a pallet. I perform an operation on the entire batch and after this operation I have to separate some OK.product and NOK.product in the processflow "Calibration result". So the question is : How we can assign a label (OK or NOK) for each boxes in the process flow "Calibration result" ?

Thanks in advence.

Example_TheotimeG_2.fsm

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

jason_lightfoot_adsk
Autodesk
Autodesk
Accepted solution

You can use an AssignLabels or CustomCode activity.

In the "AssignLabels" you just replace 'token' with a pointer to your box.

1652778889607.png


In your model it's less obvious what that should be since you're not creating/storing a pointer to boxes and are relying on finding the first object in a process at the time each activity is invokes - that's a design choice.

0 Likes