question

Theotime G2 avatar image
0 Likes"
Theotime G2 asked Jason Lightfoot edited

How to assign a label to an item using process flow

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

FlexSim 22.1.1
set labelseparate
5 |100000

Up to 12 attachments (including images) can be used with a maximum of 23.8 MiB each and 47.7 MiB total.

1 Answer

·
Jason Lightfoot avatar image
0 Likes"
Jason Lightfoot answered Jason Lightfoot edited

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.


1652778889607.png (13.2 KiB)
5 |100000

Up to 12 attachments (including images) can be used with a maximum of 23.8 MiB each and 47.7 MiB total.

Write an Answer

Hint: Notify or tag a user in this post by typing @username.

Up to 12 attachments (including images) can be used with a maximum of 23.8 MiB each and 47.7 MiB total.