question

Vedran RL avatar image
0 Likes"
Vedran RL asked Benjamin W2 answered

Change over time

I would like to know how we can compare in Decision point label value from token that went thru decision point and token that is on decision point? Idea is that based on this comparison I can choose change over time. So if have equal label value we can put set up time to 0 and if we don't we can use value from table. @ @Martin

FlexSim 19.2.4
process flowchange over time
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

·
Benjamin W2 avatar image
0 Likes"
Benjamin W2 answered

The best way to do this is not to use a decide, but pull from a list. In the following sample model, I have created a global changeover table:

The process flow will look something like this:

The list has an "age" field, then the "Pull from List" calls a query on that age field to return the last processed item:

The delay activity then uses the current token's Type and the pulled token's Type to lookup the changeover time on the table. Make sure to check the "Use Max Wait Timer" and set it to zero.

After processing, the token is pushed back to the list with both the Max Wait Timer set to 0 and the "Keep On List On Early Release" checked.

Changeover Model.fsm


1589496294079.png (25.3 KiB)
1589496329513.png (125.1 KiB)
1589496383896.png (110.8 KiB)
5 |100000

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

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.