Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.
Comment: Corrected links that should have been relative instead of absolute.

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:

  1. Create a new trigger with Event type selected as "TriggerErrorEventTriggerError".(See Figure63)

    Image Modified

...


  1. Define the trigger condition and proceed to define Click Next and move forward to define the trigger action.
  2. Add a trigger action On the Trigger Action window, click Add.

  3. Select the Trigger Action as "SQL Query" and configure the parameters as defined belowclick OK.


    Image Modified

     

  4. Define the SQL Query

    Action parameters:
    Jdbc url:

    parameters and click OK.

    Parameter Name
    Description
    JdbcurlProvide 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%'
  5. After that click on Ok.
  6. Select the newly created Trigger from Trigger manage page and click on "Apply" to make the new changes into effecttrigger and click OK.