Defining an Execution REST API operation step

The following procedure describes how to define an Execution operation step for REST API. You can add many execution operation steps if required.

After completing Execution operation steps you can validate, test and then deploy the job type. For more information about deployment, see Job type deployment.

To define an Execution operation step:

  1. Do the following:
  2. To run the operation step based on a specific event or condition, in the Conditions field, click I_AI_addnew and from the dropdown list select the parameters, as described in Condition parameters.

    NOTE: By default, the operation step only runs if the previous step succeeded. If you want the operation step to run regardless of the result of the previous operation, delete the condition by clickingI_AI_delete_cond.

  3. In the Type field, from the dropdown list ensure that you select REST API.

    NOTE: To change the operation type, from the dropdown list select either Command Line or Web Service.

  4. In the REST API field, click Add REST API URL and do one of the following:
  5. If you want to edit the URL and/or want to add authentication, see Editing a REST API URL.
  6. In the Method field, from the dropdown list select one of the Methods to be invoked.
  7. Type the REST API parameters as described in REST API parameters.
  8. In the Advanced Options section, add the options you require, as described in REST API Advanced options.
  9. To define how the output should be handled, in the Output Handling field, clickI_AI_addnew.

    For more information about Output Handling rules, see Output handling rules.

  10. If you want to add job completion verification select the Verify operation completion checkbox.

    For more information about Verify operation completion, see Defining a Command Line job completion verification rule.

  11. If you want to attach content to job output do any of the following:

    NOTE: If you want to change job content, from the toolbar, click Options.

  12. (Optional) From the Execution operation step, click I_AI_option_drop do one or more of the following:

    NOTE: You can also duplicate, clear content, add or delete a step. If you have created more than one Execution operation step, you can move the priority by clicking Move up or Move down.

Parent Topic

REST API operation steps