question

David Chan avatar image
0 Likes"
David Chan asked Phil BoBo commented

"token.tasksSequence" syntax error in the Task Sequence activities

Hi dev

There are spelling mistakes in the Task Sequence activities. Some spelled without a "s" after task.

Please check.

David

FlexSim 20.2.0
flexsim 20.2.0process flow tasksequence
· 5
5 |100000

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

Mischa Spelt avatar image Mischa Spelt commented ·

You mean that some are spelled with an s? The thing is called a Task Sequence after all, not a Tasks Sequence.

0 Likes 0 ·
David Chan avatar image David Chan commented ·

@phil.bobo

I have enclosed the similar model one is done update 1 and another in update 2. The one in update 2 has an issue as shown below.

exception: Error: Bad Task Executer/Task Sequence reference in starting Task Executer activity "Travel" in process flow "Object"

AGV TS 2020Up1.fsm

AGV TS 2020Up2.fsm

Please advise what was wrong. Thanks

David

0 Likes 0 ·
agv-ts-2020up1.fsm (37.0 KiB)
agv-ts-2020up2.fsm (36.9 KiB)
Phil BoBo avatar image Phil BoBo ♦♦ David Chan commented ·

If you open the AGV TS 2020Up1.fsm model in FlexSim 20.2, it runs just fine.

The problem is in the configuration of the first Travel activity in the AGV TS 2020Up2.fsm model.

If you explore its tree, you can see that its resourceRef variable's type is 2. It should be 0.

Up1, type 0 (good):

Up2, type 2 (bad):

I can't figure out how you got this variable to be that value. I can't replicate it getting set to that value erroneously. If you create a new activity, it has the correct 0 value. If you delete the value in the field, then recreate it via typing token.taskSequence or selecting the option Token Label > taskSequence, then it sets the value correctly. If you load the 20.1 model, it has the value set correctly.

I don't know what you did to get this activity to be configured this way. It could be a bug, but without replication steps, we can't confirm or fix it.

0 Likes 0 ·
1597702910101.png (88.9 KiB)
1597702933195.png (90.9 KiB)
David Chan avatar image David Chan Phil BoBo ♦♦ commented ·

@phil.bobo

Thanks. I think that is a bug. When you drag out a "Create TS" activity, the next TS activity will have the resourceRef Type at 2. Any other TS activities are ok. On the other hand, if any TS activity is drag out before "Create TS", then it is ok.

Thanks

David

1 Like 1 ·
1597713615603.png (30.2 KiB)
Show more comments

1 Answer

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

I don't see any spelling mistakes in any of the task sequence activities. They are all correctly spelled token.taskSequence.

· 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.

David Chan avatar image David Chan commented ·

I do not know how I got that. Anyway, I will look out again. Thanks

David

0 Likes 0 ·

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.