Hitachi

Job Management Partner 1 Version 10 Job Management Partner 1/Automatic Operation Service Template Developer's Guide


5.3.8 Flow of debug process when pausing between steps

You can configure JP1/AO to pause after each step as it executes the debug task. This gives the user the opportunity to perform the actions below. If a flow includes multiple steps executed in parallel, you can perform these actions for each step.

You might use this approach when you have a general idea of where a problem is located in the flow, and want to keep a close eye on the task as it executes. You could also use this procedure to see how the task behaves with unexpected property values.

Important note

If a plug-in returns a value of 65 or higher, the processing of the debug task will not pause after the plug-in, even if configured to do so in the interruption settings. This could occur when the value of an input property is specified incorrectly, or JP1/AO is unable to connect to the OS of the operation target device.

Debugging with pauses between steps:

  1. In the Perform Debugging dialog box, select Interrupt After Each Step in the Interruption Settings list box.

  2. Specify the definition information for the debug service.

  3. Click Run.

    The Debug view and the service template debugging view appear, and the debug task is executed.

    JP1/AO executes the debug task from the first step in the flow, which immediately pauses before executing its plug-in processing. For details about the flow of tasks in this scenario, see 5.3.9 Processing of debug process when pausing between steps.

  4. In the Debug view and the Properties tab, check the mapping of the input properties, and change the input properties to arbitrary values as needed.

  5. Select whether to execute plug-in processing. If you choose not to execute the processing of a particular plug-in, specify the output properties and return value of the plug-in. If you want to change the output properties and return value of a plug-in after executing its processing, configure JP1/AO to pause after processing the plug-in.

  6. Click Rerun to resume step execution. If the plug-in requires a response, provide the response now.

    Plug-in processing is executed and execution of the step finishes.

  7. If you configured JP1/AO to pause after executing the plug-in processing in step 5, change the output properties and return values as needed, and then click Rerun.

  8. JP1/AO executes the subsequent step according to the subsequent-step execution condition, but pauses before executing the plug-in processing.

  9. To execute the subsequent step, repeat steps 4 to 7.

  10. After the debug task has finished, edit the service template or plug-ins as needed.

Related topics