0
Staged for Release

Prevent removal of script that is part of a workflow

Peter van Meijel 10 months ago • updated by Jira user 1 month ago 7 1 duplicate

As an administrator, I want to prevent the removal of scripts that are used in a workflow so that I cannot accidentally break the workflow.


(WHY) Currently it is possible to delete any script, even if it is used in a workflow. As a result, administrators may accidentally break the workflow.

(WHO) Administrator

(WHAT) Prevent removal of script that is used in workflow


Current Situation

Currently it is possible to delete any script, even if it is used in a workflow. As a result, workflows may break.


In addition, script that are referred in other scripts cannot be removed either.


Acceptance Criterea

When the administrator tries to deletes a script, check whether the script is used in a workflow in one of the Document Definitions in the environment. If this is the case, show an error: "This script cannot be deleted because it is used in a workflow".

Duplicates 1

Also pay attention to the import script {!scriptA!} functionality.

Hey @Calin can you inform us about the status of this ticket. We believe we saw a pr on a branch at one moment in time but we are not sure

Under review
In Progress
Staged for Release