Updated on 2022-08-17 GMT+08:00

Deleting a Script

If you do not need to use a script any more, perform the following operations to delete it.

When you delete a script, the system checks whether the script is being referenced by some jobs. Version in the reference list lists the job versions that reference the script. When you click Delete, the job and all its version information are deleted.

If a script to be deleted is being associated with a job, ensure that services are not affected after the script is forcibly deleted. If you want to continue to use the job, go to the Develop Job page and associate the job with an available script.

Prerequisites

The script that you want to delete is not used by any jobs.

Deleting a Script

  1. Log in to the DataArts Studio console. Locate an instance and click Access. On the displayed page, locate a workspace and click DataArts Factory.
    Figure 1 DataArts Factory
  2. In the left navigation pane of DataArts Factory, choose Data Development > Develop Script.
  3. In the script directory, right-click the script that you want to delete and choose Delete from the shortcut menu.
  4. In the displayed dialog box, click OK.

Batch Deleting Scripts

  1. Log in to the DataArts Studio console. Locate an instance and click Access. On the displayed page, locate a workspace and click DataArts Factory.
    Figure 2 DataArts Factory
  2. In the left navigation pane of DataArts Factory, choose Data Development > Develop Script.
  3. On the top of the script directory, click and select Show Check Box.
  4. Select the scripts to be deleted, click , and select Batch Delete.
  5. In the displayed dialog box, click OK.