question

Sebastian Hemmann avatar image
0 Likes"
Sebastian Hemmann asked api answered

Bug with List and on Push Event

Hi,

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

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


FlexSim 20.1.2
listflexsim 20.1.2pull from listpush to list
5 |100000

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

api avatar image
0 Likes"
api answered
Closing outdated question
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
4 Likes"
Steven Hamoen answered Sebastian Hemmann edited

@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...)

· 3
5 |100000

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

Sebastian Hemmann avatar image Sebastian Hemmann commented ·

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 0 ·
Phil BoBo avatar image Phil BoBo ♦♦ Sebastian Hemmann commented ·
0 Likes 0 ·
Sebastian Hemmann avatar image Sebastian Hemmann Phil BoBo ♦♦ commented ·

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