Publishing a script

You can publish scripts to your IBM RPA Control Center environment to make them available as resources. You can later configure them to run on computers configured in your environment.

Before you begin

  • You must have access to IBM RPA Studio.
  • The script can't contain syntax errors.
  • You can choose to publish a blank script or an unpublished script with commands. To publish a script that has been already published, you first need to retrieve it before publishing.
  • The name of the script must be unique.

Procedure

  1. Open the IBM RPA Studio application.
  2. Log in to your account.
  3. In the Home tab, click the Publish button. If your script isn't saved locally, the application prompts you to save the script.
  4. In the Name field, enter an unique name for the script.
  5. In the Description field, enter a description which add useful information about what you added or updated in your script.
  6. Optional: Set Allow scheduling to On.
  7. Optional: Set Set as production to On.
  8. Optional: Click the Show advanced options text to edit the script run time. Enter the following values:
    • In the Green time field, enter the ideal duration that the script's runtime must take. The default is 2 minutes.
    • In the Yellow Time field, enter the average duration that the script's runtime must take. The default is 2 minutes.
    • In the Red time field, enter the maximum duration allowed for the script's runtime. The default is 2 minutes.
  9. Click Save.

Updating the script version used by a Bot

If your script is already used by a Bot, you can update the script version used by the Bot directly in IBM RPA Studio.

  1. In the Home tab, click the Publish button.
  2. Click the Bots tab.
  3. Select the corresponding Bots that you want to have the updated version.
  4. Click Publish.

Results

Publishing sets the script under the IBM RPA server's embedded version control system. After publishing, scripts become a resource for the environment users to run on computers.