Execute a Rule by constraint just ONCE

hellow samba pos i have a rule that executes in a payment event proccesed an applying two actions that assigns a ticket tag when the payment amount equals zero, until this moment everything is perfeect but tha problems comes when a closed ticket is unlocked, i will like to somehow execute this rule JUST once.

RULE

ACTION 1

ACTION 2

Add a constraint to the rule that that ticket tag is null that way it will only run if the tag is not already set. So unless you delete the tag on the reopening automation when the ticket is closed the second time with the tag already set it will not fire a second time.

2 Likes

Could you gimme a little hand with that constraint, just something to start from please.

Like this, as a Rule Custom Constraint:

{TICKET TAG:DIAN} Is Null

1 Like