question

David Chan avatar image
0 Likes"
David Chan asked Regan Blackett answered

processflow: assign different destination based on resource

Dear people, how do I assign different destination based on the resource used in processflow.

I am trying to use processflow to control 3D operators. I wonder the operators goes to his assigned workstation. How do I do it in PF?

Thanks

David

FlexSim 16.2.0
processflowresourcedestinationdestina
5 |100000

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

Regan Blackett avatar image
0 Likes"
Regan Blackett answered

Hi David,

Here's a sample model I put together uses labels that store object references to move flowitems and give Tasks to a Task Executor. By Changing the Reference type on a Resource to that of a 3D object, the label created during an Acquire activity will store a reference to the object. You can then use that stored reference during activities that want to manipulate flowitems or TE's. Have a look and let me know if this helps.

move-to-resource.fsm


5 |100000

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

Sam Stubbs avatar image
0 Likes"
Sam Stubbs answered Sam Stubbs edited

What I would probably do, is to add a label on the resource. You could have the value of that label BE the object you want as the destination. Then you could simply call the the getlabel function in the destination field. OR alternatively (if there are multiple destinations that a resource could go to) you could simply assign a number as the value to that label. And then just have a Decide activity that will send it to different activities based on destination.

I don't know if these answers are specifically what you're looking for. Do you need a more specific solution? If needed you could post an example model I could look at.

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.