question

Bob G avatar image
0 Likes"
Bob G asked Jordan Johnson answered

Task Sequence Problem in 2022 Update 1

I found a possible defect in 2022 Update 1 concerning task sequences.

A created task sequence is lost when a custom-code activity is executed prior to adding the first task (Travel) to the new task sequence. See the attached TaskSequenceTest model.

The problem is avoided if a "dummy" (0-second) Delay task is added to the sequence before the custom-code activity and Travel task. See the attached TaskSequenceTest2 model.

This problem occurs in multiple models in the 2022 Update 1 but was not a problem in earlier versions.

Has anyone else seen this?

TaskSequenceTest.fsm

TaskSequenceTest2.fsm

FlexSim 22.1.1
2022 utask sequencing
5 |100000

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

1 Answer

Jordan Johnson avatar image
0 Likes"
Jordan Johnson answered

This is a known bug. It is a bug in the Custom Code activity, and it affects the Enter Zone activity and the Create Task activity. It has been fixed for the next bug fix release. Your workaround (adding a Delay activity between the Create Task and the Custom Code) is probably the best workaround for now.

Thanks for the bug report. Even if a bug has been reported before, it's still helpful to get additional reports, and additional sample models.

5 |100000

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