Do Actions have a "this"?
Hello -
Do actions have a way to access their friendly name or other properties from within the action
Why?:
I have a rule "Fire OrderConfirm Events"
That rule contains 10 actions.
In each action, I'd like to call a function that checks the action reached "the end" and didn't error. If it does error, I'd want to surface the name of the action that errored
So instead of:
Rule Fire OrderConfirm Events Fired - followed by
unexpected: Undefined etc etc.
I can have it throw
"Action ${action.name} Failed" => "Action Pinterest Failed"
That way I can easily track errors in larger rules