question

Sander avatar image
0 Likes"
Sander asked Jeanette F commented

evaluate resource claim per single token

Hi,


Ive got a resource claim that has several arguments in the query. One of the arguments is based on a table that is updated just after the resource claim. Because the argument is only updated after the resource claim multiple tokens can get a resource where i dont want them to do so.

For example there are two types that can claim one of the three resources, but at one time only two of the same type can claim a resource never three.

I think i need to change the query in such a way that a dynamic expression is used, only im not sure it that will prevent the resource claim of three tokens at once and thus circumventing the solution.

Adding a zone that only allows one token doenst work because the other arguments in the query get influenced.

i hope anyone has seme smart ideas.


kind regards

FlexSim 24.0.8
resource claim
· 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.

Jeanette F avatar image Jeanette F ♦♦ commented ·

Hi @Sander, was Steven Hamoen's answer helpful? If so, please click the "Accept" button at the bottom of their answer. Or if you still have questions, add a comment and we'll continue the conversation.

If we haven't heard back from you within 3 business days we'll auto-accept an answer, but you can always comment back to reopen your question.

0 Likes 0 ·

1 Answer

Steven Hamoen avatar image
0 Likes"
Steven Hamoen answered

@Sander Without an example this is quite a difficult to answer but have you thought about using a list instead of a resource and put a dynamic field on the list that looks at the info in the table? That field is updated with a new puller (so the next token) so then the info should have been updated. Also maybe using breaths to give time to have something updated?

5 |100000

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