Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

You can delete scripts with active tasks and checks #957

Closed
silversword411 opened this issue Jan 27, 2022 · 1 comment
Closed

You can delete scripts with active tasks and checks #957

silversword411 opened this issue Jan 27, 2022 · 1 comment
Assignees
Labels
bug Something isn't working enhancement New feature or request

Comments

@silversword411
Copy link
Collaborator

  1. Create script
  2. Create task and/or check on agent using script
  3. Delete script

It should stop you from deleting script if it's assigned, or going to have problems with tasks later.
Or, even better check: If script in use somewhere give the option to remove from all locations at script deletion time.

Probably need to be able to find where the script is allocated when you do want to delete (like Show Relations in Automation Manager).

@silversword411 silversword411 added bug Something isn't working enhancement New feature or request labels Jan 27, 2022
@silversword411 silversword411 added this to sadnub tasks in Ticket Triage Feb 23, 2022
sadnub added a commit that referenced this issue Mar 17, 2022
… exist and will remove it when running the task on an agent
@sadnub
Copy link
Collaborator

sadnub commented Mar 17, 2022

Will be fixed in the next release. Check were already being deleted if the script was. Tasks will self-delete the task if it is unable to find it when running now.

@sadnub sadnub closed this as completed Mar 17, 2022
Ticket Triage automation moved this from sadnub tasks to Done Mar 17, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working enhancement New feature or request
Projects
Development

No branches or pull requests

2 participants