question

Steven Hamoen avatar image
1 Like"
Steven Hamoen asked Steven Hamoen commented

Is an allocated task not an activeTaskSequence?

If I have an Allocated Task does that not count as an active tasksequence? Or is this a bug?

See this picture:

activetasksequence.png

I would expect that it returns a pointer to the tasksequence inside the activetasksequence node, but it returns a <no path>

I know this is not the latest version (have looked through the release notes but found nothing and I can't update the project to the latest version (8 modules) and that it is somewhat older technique but I was wondering...

FlexSim 21.0.5
taskexecutoractivetasksequence
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

·
Jason Lightfoot avatar image
0 Likes"
Jason Lightfoot answered Steven Hamoen commented

I can't reproduce this - in my tests (v19,21,22) the correct task sequence is returned (that being the coordinated tasksequence on the dispatcher), not the one under the activetasksequence node (which is the one gettasksequence(<te>,0) will return)

TestCoordinatedTaskActiveTS_v19.fsm


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

Steven Hamoen avatar image Steven Hamoen commented ·
@Jason Lightfoot Hi Jason, weird. I worked around it by just looking at the content of the activetasksequence node. But I have no idea why it doesn't work with me. Thanks for the demo test model. But even when fiddling with it (because in my case the task was not being executed only TE was allocated) didn't help. thanks for looking into it.
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.