sfdx-hardis
sfdx-hardis copied to clipboard
Bulkify flow deletions
Today I used this plugin to delete obsolete flows and I had over 150 flow versions to delete and it took around 10 minutes to execute (still a LOT faster than manually deleting flows).
If I understand correctly, command for flow deletions calls sfdx
to delete flow versions using tooling API.
Is there a way to bulkify this process? Tooling API supports bulk deletions (but to be fair I haven't used it for flow deletions so I can't guarantee it will work in this application). If this doesn't work maybe using composite API woudl be good idea?
When I created the command I tried to but didn't succeed with included SDK (I probably did not look for long)
I think we need to create a CSV then call the tooling bulk API, would you like to make a PR ? :)
@nvuillam I am sorry but due to my responsibilities, I don't have any free time :(, I am just sharing ideas for improvement