You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
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
The text was updated successfully, but these errors were encountered:
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
SELECT id, FlowDefinitionViewId, FlowDefinitionView.ApiName, VersionNumber FROM FlowVersionView where DurableId = '301bR000002fDeYQAU'
and then old version withSELECT id, FlowDefinitionViewId, FlowDefinitionView.ApiName, VersionNumber FROM FlowVersionView where FlowDefinitionId = [same flow def than previous] and VersionNumber < [LastFlowVersionNumber - 5 ]
then delete alll resultThe text was updated successfully, but these errors were encountered: