Creating a Custom Java Service Request

You can create a service request that uses custom Java to execute a custom process or to route data into another database. Before you can create a custom Java service request, you must create the custom Java as described in Creating Custom Java for Orchestrations in this guide.

  1. Access the Service Requests design page from the Orchestrator Studio Home page.

  2. On the Service Requests design page, click the New Custom Java button.

  3. On the Service Request design page, enter a name for the custom Java service request.

    Do NOT include spaces in the name.

  4. Click the Edit Description button to enter a description for the custom Java service request.

  5. In the Class field, enter the Java class.

    This is the custom Java class that you created to use for the service request.

  6. Complete the following fields:

    • Attribute. Enter the name of the field in the class.

    • Input Value. Enter the input variable name. If the attribute is a boolean and you pass in "true", then you could use a default value.

    • Default Value. Enter a default, hard-coded value if there is no mapped value. You can also add a hard-coded value to use if the mapped value returns a null.

  7. If you make a mistake, you can click the Restore Custom Java button which refreshes the custom Java rule to its last saved state.

  8. Click the Save button.

    The Orchestrator Studio saves the custom Java request. You can then access the orchestration in the Orchestration design page and add this custom Java service request as a step in the orchestration.