You can create a trigger in JSCAPE server Server that can handle if any of the misfire events misfires or through some exception. It can also be used to log the information of the files send sent to the partner Trading Partner that are failed due to some exception. Follow the below steps to To configure a misfire handing event:
...
handling event:
- Create a new trigger with Event type selected as "TriggerErrorEventTriggerError".(See Figure63)
...
- Define the trigger condition and proceed to define Click Next and move forward to define the trigger action.Add a trigger
- action
On the Trigger Action window, click Add.
Select the Trigger Action as "SQL Query" and
configure the parameters as defined belowclick OK.
Define the SQL Query
Action parameters:
Jdbc url:parameters and click OK.
Parameter NameDescriptionJdbcurl Provide the jdbc url of the Adeptia Log Databaselog database. Username: Username of the Adeptia Log Databaselog database. Password: Password for the Adeptia Log log database. Info Use the following QUERY in the SQL Query trigger action:
UPDATE AU_AS2LOG SET AU_ERROR_MESSAGE='%ActionMessage%', AU_STATUS='ERROR' WHERE AU_FILE_NAME='%TriggerErrorMessage%'
- After that click on Ok.
- Select the newly created Trigger from Trigger manage page and click on "Apply" to make the new changes into effecttrigger and click OK.