You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Some scripts can return the special value of UNCHANGED to indicate not to do something.
The Email Handler will not send the email
A Meta Point will not update it's value
The way to correctly validate these is to ensure the resultDataType is set to BOOLEAN in the MangoJavaScriptModel when validating Email Handlers and Point Links otherwise no result will be returned as none is expected.
The result will be an Alphanumeric point value that contains the translated words for the translation eventHandlers.script.successUnchanged. See the attached for how a Meta Point displays this result:
The text was updated successfully, but these errors were encountered:
Set Point Handler Script should be validated using this endpoint: /event-handlers/validate-set-point-handler-script
Excel Reports
The data type is set on the backend to ensure the result will be returned. The UI should not display an empty script result though, which will happen if there is no return statement on the script.
Some scripts can return the special value of
UNCHANGED
to indicate not to do something.The way to correctly validate these is to ensure the
resultDataType
is set toBOOLEAN
in the MangoJavaScriptModel when validating Email Handlers and Point Links otherwise no result will be returned as none is expected.The result will be an Alphanumeric point value that contains the translated words for the translation
eventHandlers.script.successUnchanged
. See the attached for how a Meta Point displays this result:The text was updated successfully, but these errors were encountered: