Skip to content

Reset script and software automations using POST /automations/reset API endpoint #28611

@mason-buettner

Description

@mason-buettner

customer-cisneros: Gong snippet

@kc9wwh @noahtalerman: Completing the customer request from todays call with them, the real ask is that a reset be triggered any time an edit is made to a script or policy (which is tied to an automation). Gong

UPDATE: @noahtalerman: Updated this bug to a feature request: "Reset script and software automations using POST /automations/reset API endpoint"

The current best practice for reseting software and scripts is to deselect the policy in the Mange automations modal, select Save, and reselect the policy. This will reset the policy's host counts and retrigger software and script automations.

I opened a PR to the API docs and software/scripts guides here: #28677


  • @noahtalerman: User requested this because today resetting automations via the POST /automations/reset API endpoint does not re-trigger script or software automations tied to policies after a script or software change — forcing manual deselection and reselection of the policy, or removal/re-addition of devices to teams.
    • @noahtalerman: In the interim users must manually clear automations by deselecting and reselecting policies in the Manage Automations UI or reassign hosts to teams to reset automation state.
    • @noahtalerman: Eventually users should be able to call the POST /automations/reset API to fully reset automations, including script and software policy runs, without needing manual intervention in the UI or host reassignment.

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions