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

cleanup old version of flow #50

Closed
3 tasks done
Tracked by #5
dufoli opened this issue Apr 1, 2024 · 0 comments
Closed
3 tasks done
Tracked by #5

cleanup old version of flow #50

dufoli opened this issue Apr 1, 2024 · 0 comments
Assignees
Milestone

Comments

@dufoli
Copy link
Owner

dufoli commented Apr 1, 2024

When you work a lot with flow instead of apex which is best pratice, you end with a lot of version of the same flow and if you deploy a flow with 50 version it fail with too much flow.
So We need somthing to cleanup and keep only 5 flow version for example

  • create button in flow header (scrollability) or in popup but display only on flow
  • get current version of flow with SELECT id, FlowDefinitionViewId, FlowDefinitionView.ApiName, VersionNumber FROM FlowVersionView where DurableId = '301bR000002fDeYQAU' and then old version with SELECT id, FlowDefinitionViewId, FlowDefinitionView.ApiName, VersionNumber FROM FlowVersionView where FlowDefinitionId = [same flow def than previous] and VersionNumber < [LastFlowVersionNumber - 5 ] then delete alll result
  • confirm
@dufoli dufoli mentioned this issue Apr 1, 2024
96 tasks
@dufoli dufoli added this to the 1.26 milestone Apr 28, 2024
Dufgui added a commit to Dufgui/Salesforce-Inspector-Advanced that referenced this issue May 7, 2024
Dufgui added a commit to Dufgui/Salesforce-Inspector-Advanced that referenced this issue May 10, 2024
Dufgui added a commit to Dufgui/Salesforce-Inspector-Advanced that referenced this issue May 10, 2024
Dufgui added a commit to Dufgui/Salesforce-Inspector-Advanced that referenced this issue May 10, 2024
Dufgui added a commit to Dufgui/Salesforce-Inspector-Advanced that referenced this issue May 10, 2024
Dufgui added a commit to Dufgui/Salesforce-Inspector-Advanced that referenced this issue May 10, 2024
@Dufgui Dufgui closed this as completed in b318a8f May 10, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants