5.1.5 Using Delete Threshold Sets Notebook

This notebook provides functionality for deleting threshold sets created for SCU, especially when migrating threshold sets from the lower to the higher version of the BD environment by deleting unwanted threshold sets from the systems.

To access the delete threshold sets notebook, follow these steps:
  1. Navigate to the Workspace Summary page.
  2. Select the Workspace.
  3. On Modeling menu, select Pipelines. The Model Pipelines window is displayed.
  4. Navigate to the SCU folder and open the Delete Threshold Sets notebook in Pipeline Designer.
  5. From the Python Runtime drop-down list, select the default_8.1.2.8.0. The selected Python runtime parameter will be used during all the notebook executions.
  6. Click the Notebook tab. The notebook contains a couple of markdown paragraphs and a single Python paragraph.
View Threshold Sets for SCU
To view the threshold sets created for SCU, follow these steps:
  1. Open the Delete Threshold Sets notebook.
  2. Navigate to the Last/Python paragraph.
  3. Enter the valid datasource_name.
  4. Enter the scenario_id. You must enter only one scenario_id.
  5. Do not enter any value (leave it blank) in the threshold_set_ids field.
  6. Execute the paragraph to list all threshold sets created for SCU based on the provided scenario.
Delete Threshold Sets for SCU

Note:

The running below paragraph will permanently delete the specified threshold sets. Ensure the other users do not need this threshold set before completing this action.
To delete the threshold sets created for SCU, follow these steps:
  1. Open the Delete Threshold Sets notebook.
  2. Navigate to the Last/Python paragraph.
  3. Enter the valid datasource_name.
  4. Enter the scenario_id. You must enter only one scenario id.
  5. Enter the threshold_set_ids which needs to be deleted.

    You can enter multiple IDs with commas separated. For example: 44, 45.

  6. Execute the paragraph to delete specified threshold id(s).

    By default, the remaining threshold sets will be available in the paragraph after successful deletion.