The Send Error Message action sends an error message to either the Trading Partner contact or the XML Gateway system administrator identified in the ECX_SYS_ADMIN_EMAIL system profile.
The Send Error Message Action is used for warnings that do not require the process to be terminated. For more serious errors requiring termination of the process, use the ECX_ACTIONS.set_error_exit_program API. See set_error_exit_program for more information about its usage.
Error messages can be obtained from the following sources:
Return parameter of a procedure call
Status of a function call
A Workflow notification containing the error message is sent to the party identified in the To prompt.
This action is provided to augment the standard error handling and notification process.
See Map Action Editor - Overview for details on the common components of the window.
Identify the variable containing the error message to be sent. The error message can be represented as a literal.
When using this action in conjunction with the Procedure Call action, the variable may be a return parameter or a literal value.
When using this action in conjunction with the Function Call action, the variable may be the function return value or the value contained in the Return Message variable maintained by the XML Gateway Execution Engine.
You can concatenate several strings such as the value in Return Message with a literal value to form a complete message.
Identify the recipient of the error message. The valid options are the Trading Partner contact or the XML Gateway system administrator, identified in the ECX_SYS_ADMIN_EMAIL system profile.