Work within the Script Development Lifecycle

Content on this page is for a product or feature in controlled release (CR). If you are not part of the CR group and would like more information, contact your Account Representative.

Unless otherwise noted, information on this help page does not apply to Desktop Studio. To protect the security of scripts in the various stages, folders assigned to development stages are not visible in Desktop Studio.

This page is for CXone Mpower Studio script developers. If you're a Studio administrator, see the Development Lifecycle Management help page.

Studio supports a development lifecycle workflow for scripts. It allows your company more control over scripts, such as limiting who can put a script into production. The lifecycle allows you to promote scripts from one development stage to another.

In Studio, the development lifecycle consists of two or more development stages. Each development stage has a corresponding folder where scripts in that stage are stored. If you have the appropriate permissions, you can promote a script from one development stage to the next. You can also duplicate a script into another stage or into another folder in the same stage. For example, if a script was modified in the production stage for a hotfix, you could duplicate it into the development stage for continued development.

You can promote scripts from the script's canvas or from the Scripts page in Studio. On the Scripts page, you can promote more than one script at once.

You must have a different permission for each development stage that you work in. Additionally, there are permissions to control whether you can see development stage folders, to create and edit scripts in each stage, and to promote to each stage. Development workflow options must be enabled and configured by a Studio administrator.

Promoting or duplicating a script to a different development stage overwrites the older version of the script if it exists in the destination stage. If needed, you can compare scripts to determine differences before promoting or duplicating. You can also view a script's version history and revert to an older version, if changes were overwritten.

Promote a Script to the Next Development Stage

Required permissionsACD > Studio > Testing Stage > Promote To , ACD > Studio > Pre-Deployment Stage >Promote To , or ACD > Studio > Production Stage > Promote To

You can promote scripts to the next development stage. You cannot skip stages. By default, scripts are promoted into the same folder they're stored in within the stage you're promoting from. If that folder doesn't exist in the destination stage, Studio creates it during promotion. If you want to change the destination folder, you can specify a folder during promotion.

The option to promote is only visible in scripts currently located in a folder development stage folder. If you don't see the promote button, check the script path to see where the script is located. If the script should be located in a development stage, you can duplicate it into the stage.

Before promoting a script, ensure that you have completed any tasks required by your company, such as testing.

Promote a Single Script

  1. In CXone Mpower, click the app selector and select Omnichannel RoutingStudio Three arrows joined at the base. One points straight up, one up and to the right, and one up and to the left. .
  2. On the Scripts page, locate and double-click to open the script you want to work with. The script opens in a new tab.
  3. Click the down arrow Icon of an arrow pointing down. next to Save drop-down list in the upper right corner of the canvas, select Promote. The Promote Script window displays the name of the current stage and the one you're promoting to.
  4. If you want to change the destination folder, enter a new Target Folder where you want the script to be stored. The folder path displayed in the To field updates to include the folder you specify. If you want to store the script in the same folder name as the one it's currently located in, don't change this field.
  5. Click Promote. A toast message appears and displays the status of the promotion when it completes.

Promote Multiple Scripts at Once

  1. In CXone Mpower, click the app selector and select Omnichannel RoutingStudio Three arrows joined at the base. One points straight up, one up and to the right, and one up and to the left. .
  2. On the Scripts page, select the checkbox next to each script you want to promote.
  3. Click Promote in the upper right corner of the page. The Promote Script window displays the name of the current stage and the one you're promoting the selected script to.
  4. If you want to change the destination folder, enter a new Target Folder where you want the scripts to be stored. The folder path displayed in the To field updates to include the folder you specify. If you want to store the scripts in the same folder name as the one they're currently located in, don't change this field.
  5. Click Promote. The Promoted Script Status window appears and shows you the results of the promotion.
  6. Click Close when you're done reviewing the results.

Duplicate a Script to a Development Stage Location

Required permissionsACD > Studio > Testing Stage > Create/Edit , ACD > Studio > Pre-Deployment Stage >Create/Edit , or ACD > Studio > Production Stage > Create/Edit 

You can duplicate scripts into a development stage. The scripts can be located in any Studio folder you have access to. You can duplicate from a non-stage folder to a development stage folder, or from one development stage folder to another. This allows you to: 

  • Populate a development stage folder with scripts that were originally created elsewhere.

  • Copy a script from a higher-level stage back to a lower-level stage. For example, if you made a hotfix change to a script in production, you should update the script in the dev stage folder.

Duplicating a script makes a copy of the script in the destination folder. You can create a new folder in the destination if you need to. By default, the script is stored with the same folder path as in the original folder. You can duplicate scripts one at a time or in bulk.

  1. In CXone Mpower, click the app selector and select Omnichannel RoutingStudio Three arrows joined at the base. One points straight up, one up and to the right, and one up and to the left. .
  2. On the Scripts page, locate the script you want to duplicate.
  3. Click the checkbox next to the script and click Duplicate in the upper right corner of the page.

  4. Select Development Workflow Location as the destination type.

  5. Click Next.

  6. Select the Target Division from the drop-down. This option is only visible if your CXone Mpower system is configured for divisionsClosed Separate data securely between lines of business. Data can only be accessed from within the division it's part of.. The list contains only divisions that are visible to you. If you're not what sure which division to choose, ask your CXone Mpower administrator.

  7. Select the Target Stage from the drop-down. The list contains only the development stages you have Create/Edit permissions for.

  8. Select the Target Branch from the drop-down. If you're duplicating a script into the lowest level stage, such as dev, the only option is main.

  9. Under Subfolder, click the folder where you want to store the script. You can click Create New Folder if needed, then enter a name in the text box that appears and press Enter.

  10. Click Duplicate.

Duplicate a Script to a Non-Stage Location Folder

You can duplicate one or more scripts into a folder that's not associated with a development stage, if you have access to any. This makes a copy of the script in the destination folder. You can create a new folder in the destination if you need to. By default, the script is stored with the same folder path as in the original folder. You can duplicate scripts one at a time or in bulk.

  1. In CXone Mpower, click the app selector and select Omnichannel RoutingStudio Three arrows joined at the base. One points straight up, one up and to the right, and one up and to the left. .
  2. On the Scripts page, select the checkbox next to each script you want to duplicate. Selecting more than 10 scripts at a time may cause the system to time out before completing the duplication process.
  3. Click Duplicate in the upper right corner of the page.
  4. Select General Location as the destination type.

  5. Under Folder Location, click the folder where you want to store the script. You can click Create New Folder if needed, then enter a name in the text box that appears and press Enter.
  6. Click Duplicate. A toast message appears in the bottom right corner of the page when the scripts are successfully copied to the selected destination.