Adding a GOTO element

The GOTO element is used to skip steps or jump to the end of the runbook.

Use the GOTO element in the following scenarios:
The execution was successful and you can complete the runbook
For example:
  1. Restart the Application Server.
  2. If this was successful, then go to the END.
  3. Check your log files.
Run optional steps as result of a check
For example:
  1. Log in to the server where you want to start the application server.
  2. Check the current CPU consumption. If it is less than 80% GOTO Step 5.
  3. Find the process consuming the most CPU.
  4. Determine the process.
  5. Start the application server.
  6. Check the log file for confirmation that the application server is started.