We're reclaiming inactive PDIs to keep them available for active builders. Learn what's changing, who's affected, and how to protect your work. Read More

Stop processing an inbound action

Paulgrupe
Kilo Expert

I have created an inbound action that is inside scope and I need it to stop processing after it runs. I have added "event.state="stop_processing";" and that normally works in global but it does not appear to be working in scope.


I checked the logs and found this:

org.mozilla.javascript.EcmaError: "event" is not defined.

Caused by error in Inbound Email Actions: 'Create HSC Incident' at line 30

27: }

28:

29: current.insert();

==> 30: event.state="stop_processing";

Has anybody seen an issue with stop processing in scope or know of another way to stop processing?

5 REPLIES 5

Annay Das
Tera Contributor