Skip to content

undeployActions does not have equivalent filterEntities option that is in deployActions #114

Open
@shazron

Description

@shazron

Repro

Sample Code:

await sdk.deployActions(config, { filterEntities: { actions: ['myAction'] } })
await sdk.undeployActions(config)

For example, if you have a rule for an action called myAction, it will not be be deployed when setting filterEntities above. When you go to undeploy actions with the same config, it will error out since it will try to undeploy the rule that was never deployed.

Expected

You can specify the same filterEntities that you used for deployActions, in undeployActions.

Actual

You cannot specify the same filterEntities that you used for deployActions, in undeployActions, resulting in an undeploy error.

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't working

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions