Is there an order for triggers to be taken into account?

Kasu64

New member
Hi !

The title seems quite clear to me.
But the reality is more complex...

Let me explain :

If I have 4 triggers:

D01-Unknown incoming call (Anonymous)
D02-Incoming call not in contacts
D03-Incoming call from group
D04-Incoming call all contact,

Knowing that a contact from group X (D03) is of course a contact (D04)

Will Macrodroid process the incoming call sequentially?

For callers entering D01 and D02, the problem does not arise as the caller can only belong to one of these 2 groups...

But if the caller turns out to be from group X, will the action Launched by D03 be activated, without going through trigger D04?

Macrodroid in this case tested D01, D02, DO3 and does not go any further to take this trigger into account to launch the corresponding action...

Or is Macrodroid testing

D01, D02, D03, D04, and is it then the last validated trigger which is taken into account to launch the actions?

In this case, the order of positioning of the triggers is essential...

But having found no instructions...

I grope...

Thank you for your help

Sincerely,

Bests regards

ASJP
><((((°> <°))))><
 

dhj49er

Well-known member
Hi !

The title seems quite clear to me.
But the reality is more complex...

Let me explain :

If I have 4 triggers:

D01-Unknown incoming call (Anonymous)
D02-Incoming call not in contacts
D03-Incoming call from group
D04-Incoming call all contact,

Knowing that a contact from group X (D03) is of course a contact (D04)

Will Macrodroid process the incoming call sequentially?

For callers entering D01 and D02, the problem does not arise as the caller can only belong to one of these 2 groups...

But if the caller turns out to be from group X, will the action Launched by D03 be activated, without going through trigger D04?

Macrodroid in this case tested D01, D02, DO3 and does not go any further to take this trigger into account to launch the corresponding action...

Or is Macrodroid testing

D01, D02, D03, D04, and is it then the last validated trigger which is taken into account to launch the actions?

In this case, the order of positioning of the triggers is essential...

But having found no instructions...

I grope...

Thank you for your help

Sincerely,

Bests regards

ASJP
><((((°> <°))))><
I think MD will test each trigger in turn.

So for a call from a contact in a group I would expect the macro to trigger first on D03, then on D04.

However, by putting a contrainst on the D04 trigger, the macro will only trigger D03 for a contact in a group, which I expect is the result you require.

The constraint is

Macro not invoked [This Macro] for 1s
 

Dm114

Well-known member
Hi !

The title seems quite clear to me.
But the reality is more complex...

Let me explain :

If I have 4 triggers:

D01-Unknown incoming call (Anonymous)
D02-Incoming call not in contacts
D03-Incoming call from group
D04-Incoming call all contact,

Knowing that a contact from group X (D03) is of course a contact (D04)

Will Macrodroid process the incoming call sequentially?

For callers entering D01 and D02, the problem does not arise as the caller can only belong to one of these 2 groups...

But if the caller turns out to be from group X, will the action Launched by D03 be activated, without going through trigger D04?

Macrodroid in this case tested D01, D02, DO3 and does not go any further to take this trigger into account to launch the corresponding action...

Or is Macrodroid testing

D01, D02, D03, D04, and is it then the last validated trigger which is taken into account to launch the actions?

In this case, the order of positioning of the triggers is essential...

But having found no instructions...

I grope...

Thank you for your help

Sincerely,

Bests regards

ASJP
><((((°> <°))))><
I would say that all the triggers will fire at the same time. So it's up to you to test in the appropriate order which of them fired with an "IF... ELSEIF... ELSEIF..." statement.

To be 100% sure, I'd ask Dev...
 
Top