question

José Antonio MD avatar image
0 Likes"
José Antonio MD asked Marcello Rosadini commented

TaskExecuter_ReturnPosition

travel-to-a-home-location.fsm

Hello,

I have a problem using the TaskExecuter.

My problem is that the TaskExecuter has to return to a initial postion when he made a movement (for example: Go to Source>Go to Queue1 > Return to Home position), but when another activity is waitting for the TaskExecuter, it goes to the other activity instead of going to Home position.

Probably the solution is easy, but I can't find it, sorry.

Thank you!

Choose One
taskexecutermovementhomeposition
5 |100000

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

Raja Sekaran avatar image
0 Likes"
Raja Sekaran answered José Antonio MD commented

Hi,

You can achieve by choosing Travel to object in the dropdown list of OnUnload trigger of task executor and refer home location in the destination field. I have attached the model for your reference. travel-to-home-location.fsm


· 3
5 |100000

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

José Antonio MD avatar image José Antonio MD commented ·

I tried this solution before asking, but it doesn't work.

My idea is the TaskExecuter secuence: Go to Source> Go to Queue1>Go to Reference Point>Go to Source>Go to Queue 2..... And if I do this the sequence is Go to Source> Go to Queue1>Go to Source>Go to Queue 2..... The TaskExecuter problem is, if another item is waiting, TaskExecuter "prefers" to go to the other activity instead of going to the reference point.

0 Likes 0 ·
Raja Sekaran avatar image Raja Sekaran José Antonio MD commented ·
@José Antonio MAD

I change the condition and set priority for that task in travel to object, I think now it will work and I hope this is what you had intended to do.travel-to-home-location-v1.fsm

0 Likes 0 ·
José Antonio MD avatar image José Antonio MD Raja Sekaran commented ·

It works!

Thank you so much @Raja Sekaran

1 Like 1 ·
Marcello Rosadini avatar image
0 Likes"
Marcello Rosadini answered Marcello Rosadini commented

Hi Jose Antonio,

here you can find a tutorial on how to use Process Flow to create a task sequence. This way, you can define exactly what you want the task executer to do.

https://answers.flexsim.com/articles/23298/tutorial-task-sequences.html

As a note: You need to add a travel activity before the load and unload tasks to make the task executer follow your network. Otherwise it will travel directly to it.

· 2
5 |100000

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

José Antonio MD avatar image José Antonio MD commented ·

I will study this solution, thanks!

0 Likes 0 ·
Marcello Rosadini avatar image Marcello Rosadini José Antonio MD commented ·

Jose Antonio, if you need further support you can reach us at [email protected]

0 Likes 0 ·