Hi there,
I’d like to extract the number of times my module is running (the number of bundles of input). I’d like to set an alert if it’s more than one.
Can someone help?
Hi there,
I’d like to extract the number of times my module is running (the number of bundles of input). I’d like to set an alert if it’s more than one.
Can someone help?
Welcome to the Make community!
Do you want to do it in the same scenario, or another scenario watching this scenario’s execution runs?
Thank you very much! In the same scenario, in this case I’d like to know that the input = 1 bundle
Looks like you are using a “Search” module.
Every result (item/record) from a search module will output a bundle. To “combine” them into a single structure, you’ll need to use an aggregator of some sort.
Aggregators are modules that accumulate multiple bundles into one single bundle. An example of a commonly-used aggregator module is the Array aggregator module. The next popular aggregator is the Text Aggregator which is very flexible and has applies to many use-cases.
To count the number of bundles, simply use an array aggregator, and then you’ll have your answer in the aggregator’s special variable.
Thank you @samliew It was not really what I need but I workaround a solution:
I add a specific and exclusive filter before my search module