cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 

Match label values in Wait for Event

Match label values in Wait for Event

I´m looking for a feature where a "Wait for Event" activity is releasing all tokens that hit a special (number) value and all tokens with different value have to stay.

Lets say a: Label value == Order number -> the order hits the event -> all waiting tokens for this order are allowed to go on.

Sadly I couldn´t find this feature in the current "Wait for Event"!?

 

6 Comments
JordanLJohnson
Autodesk

This can be achieved with a list, where the request number is 1, and the require number is 1e15, or something similarly big; this will pull all available items off the list. A list gives you the benefit of more complicated queries if you need them. In the case you mention, a list will also be significantly faster, if you use partitions. Getting all tokens from a partition is much faster than searching a list of tokens for tokens that match the criteria.

sebastian_hemmannE3JAU
Collaborator

Hi @jordan.johnson but a List always is adding a label (pulled/puller) to my tokens.

patrick_zweekhorst
Collaborator

Hi @sebastian.hemmann,

If you don't want the pulled/puller label on your token you can just leave the assign to box empty, just remove token.puller or token.pulled and you don't get that label on the token.

sebastian_hemmannE3JAU
Collaborator

Hi @Patrick Zweekhorst ,

thanks for the hint. Didn´t try out this before. But I´m sure this will help a lot.

Just found my old idea and was wondering why i wanted this feature. But it seems as if it was because I thought for a long time it is already in there (with the function "match value" that I never found out what it does).

Are you saying you don't understand what match value does?

sebastian_hemmannE3JAU
Collaborator

@Matthew Gillespie

yes, couldn´t find out. Is it explained anywhere in a good/ understandable way?

Can't find what you're looking for? Ask the community or share your knowledge.

Submit Idea