Idea

Sebastian Hemmann avatar image
7 Likes"
Sebastian Hemmann suggested Sebastian Hemmann edited

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"!?

process flowlabelswait for event
· 6
5 |100000

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

Jordan Johnson avatar image Jordan Johnson ♦♦ commented ·

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.

1 Like 1 ·
Sebastian Hemmann avatar image Sebastian Hemmann Jordan Johnson ♦♦ commented ·

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

0 Likes 0 ·
Patrick Zweekhorst avatar image Patrick Zweekhorst Sebastian Hemmann commented ·

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.

1 Like 1 ·
Show more comments

No Comments

·

Write a Comment

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

Your Opinion Counts

Share your great idea, or help out by voting for other people's ideas.