question

Jarek O avatar image
0 Likes"
Jarek O asked Jarek O answered

How can you make a TaskExecutorflowitem respond to process flow?

Hi,

I am trying to move a taskexecutorflowitem to a processor via a process flow task sequence...After a lot of trying nothing really worked out. In attachment you can find a dummy model of my problem.

Thanks in advance,

Jarekerrorteflowitems.fsm

FlexSim 17.0.3
taskexecutor flowitem
5 |100000

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

Kari Payton avatar image
0 Likes"
Kari Payton answered Regan Blackett edited

@Jarek O Try this :

1. Create a label (I called it "processorLocation") and set the value to the location of the object as an array.

2. Reference the task executor in the sequence you created to the token label from the list "token.pulled"

3. On travel to location, reference the location array that you created. 6433-errorteflowitems-1.fsm


travel.png (29.0 KiB)
· 8
5 |100000

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

Jarek O avatar image Jarek O commented ·

Thank you so much for your response. This works indeed, but isn't there a more elegant to do this? Any idea how I could let it travel to object instead of location?

Thanks in advance,

Jarek

0 Likes 0 ·
Regan Blackett avatar image Regan Blackett ♦ Jarek O commented ·

@Jarek O

I was looking over this model and found something I've submitted to the developers to look at. Apparently if your Task Executor flowitems are created by a source object, they will not respond to Travel activities in process flow. As a work around I would use a source activity in process flow, followed by a create objects activity that creates Task Executor Flowitems into your Queue. Then they will respond to Travel activities, properly traveling to an object.

It's also good practice to move travelers like this into the model space, and preserve their global position before traveling to another object.

Here is a very simple example of using the workaround:

traveling-teflowitems.fsm

0 Likes 0 ·
Jarek O avatar image Jarek O Regan Blackett ♦ commented ·

Regan, thanks a lot for your response.

Unfortunately in my real model I will have to use a source table to schedule my arrivals of the TEflowitems. Something that is not possible in the source activity... On top of that my global list structure has to be preserved as well..

Thank you for putting forward the issue to the developers.

Jarek

0 Likes 0 ·
Show more comments
Jarek O avatar image
0 Likes"
Jarek O answered

@regan.blackett , Thanks a lot for your answer.

I was already thinking it must have been something in that direction, but I'm not experienced enough in Flexsim to find this on myself.

About the Source activity, I only seem to be able to export a table to the interface window and not import one... Probably I'm overseeing something because it's strange if only an export utility would 've been implemented.

5 |100000

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