question

Shu Wei C avatar image
0 Likes"
Shu Wei C asked Ben Wilson commented

Error: Bad Task Executer/Task Sequence reference in RF

任務序列 案例2.fsm

The model shows the operator_1 transfer the item according to the order Processor_1->Processor_2->Queue_1.

I don't know where the problem is.

FlexSim 19.1.2
flexsim 19.1.2task sequences
· 1
5 |100000

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

Ben Wilson avatar image Ben Wilson ♦♦ commented ·

Hi @shu_wei.c, was phil.bobo's answer helpful? If so, please click the red "Accept" button on their answer. Or if you still have questions, add a comment and we'll continue the conversation.

If we haven't heard back from you within 3 business days we'll auto-accept an answer, but you can always unaccept or comment back to reopen your question.

0 Likes 0 ·

1 Answer

Phil BoBo avatar image
0 Likes"
Phil BoBo answered Phil BoBo commented

The task sequence you are passing in the second Load activity has already been completed, so token.taskSequence is invalid.

The Wait for Event has caused enough time to pass that the task executer finished its task sequence.

Add logic for starting a new task sequence, or give the tasks directly to the task executer instead of the created task sequence. Replace the "Create TS" task with an "Assign Labels" task that assigns the operator to a label. Then use that label in each of the "Executer / Task Sequence" fields.

taskExecuter.fsm


1598896853840.png (176.3 KiB)
taskexecuter.fsm (30.6 KiB)
· 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.

Shu Wei C avatar image Shu Wei C commented ·

I use your file. There is a problem. The operator doesn't follow the order Processor_1->Processor_2->Queue_1 ->Processor_1->Processor_2->Queue_1.......He will work disorderly.

0 Likes 0 ·
untitled.jpg (99.4 KiB)
Phil BoBo avatar image Phil BoBo ♦♦ Shu Wei C commented ·

Then use a Resource so that you only get one token in the process at a time.

taskexecuter (1)_1.fsm

0 Likes 0 ·