Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

  1. In Graph Canvas area, select the activity and click Options from Context pad.

  2. Select Service Exception option form the list to open Service Exception Script window.



  3. On the Service Exception Script window, select the interpreter type.

    Interpreter Type
    Description
    Script

    In this option, you need to define the Java code for the execution of the process flow. Using this option will decrease the execution performance of the process flow.

    Custom API

    It is recommended to use this option. Using this option will increase the execution performance of the process flow. In this option, you need to select the class and its method for the execution of the process flow. The process flow will be executed on the basis of the code implemented in the selected method.

    Image Modified


    Info
    You can use <CTRL>+<Space Bar> to view pre-defined template of Java Code that can be used while creating Java Condition. You can select any of them and edit it according to your requirement.


  4. Click Done.

Handling Invalid Data Exception 

Invalid data exception handler script is invoked when an error related to the processing of data occurs. For example, incorrect record format. Connect displays the exception handler on the Option menu of context pad at the activity level.

Image Added


  1. Select Invalid Data Exception option form the list to open Invalid Data Exception Script window.
  2. On the Invalid Data Exception Script window, select the interpreter type.

    Interpreter Type

    Description

    Script

    In this option, you need to define the Java code for the execution of the process flow. Using this option will decrease the execution performance of the process flow.

    Image Added

    Custom API

    It is recommended to use this option. Using this option will increase the execution performance of the process flow. In this option, you need to select the class and its method for the execution of the process flow. The process flow will be executed on the basis of the code implemented in the selected method.

    Image Added


  3. Click Done.