Bug with List and on Push Event

sebastian_hemmannE3JAU
Collaborator Collaborator
2 Views
5 Replies
Message 1 of 6

Bug with List and on Push Event

sebastian_hemmannE3JAU
Collaborator
Collaborator

[ FlexSim 20.1.2 ]

Hi,

I´m pushing a token on a list and listen with an event-triggered-source to the "on push" of the list.

28674-list-bug.png

It seems as if there is a bug. The token in the Push to List activity is not going on.

Tried it out in some older versions. Always the same.

FlexSim202012_SH_ListFailure.fsm


0 Likes
Accepted solutions (1)
3 Views
5 Replies
Replies (5)
Message 2 of 6

steven_hamoen
Not applicable

@sebastian.hemmann Hi Sebastian, if you put a breath(a delay with 0.0) between the source and the Pull from list it works. Problem most likely is that when OnPush event is triggered the token is not on the list yet or not completely on the list. Why the pull works I don't know but something in the chain of event needs some time to fix it. (But I'm not sure what problem you are solving here? Because this doesn't look like the best possible solution...)

Message 3 of 6

sebastian_hemmannE3JAU
Collaborator
Collaborator

Hi Steven, thanks for the fast reply. Yes I already found some ways to make it not happen (e.g. listening to the OnEntry of the Push to List). And you also are right, there might be not many cases to use it exactly this way. A client figured this out and I just shared the issue because I can´t estimate what other cases this maybe has an impact for. Or maybe anybody knows it´s a feature 🙂

0 Likes
Message 4 of 6

philboboADSK
Autodesk
Autodesk


Phil BoBo
Sr. Manager, Software Development
0 Likes
Message 5 of 6

sebastian_hemmannE3JAU
Collaborator
Collaborator

@phil.bobo Hi Phil, thank you for the hint. What is the preferred way to release the tokens out of the "Push to List" activity anytime?

0 Likes
Message 6 of 6

__ANON_USER__1
Not applicable
Accepted solution
Closing outdated question
0 Likes