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.
(WHAT) Prevent removal of script that is used in workflow
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.
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".
Customer support service by UserEcho