Skip to content

Commit

Permalink
Include SecondGen-Installed-Editable in automation control
Browse files Browse the repository at this point in the history
These flows are editable and should be included in the visible flows

resolves #1042
  • Loading branch information
paustint committed Nov 23, 2024
1 parent 96687f1 commit ede2bf5
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -331,7 +331,7 @@ export async function getFlowsMetadata(selectedOrg: SalesforceOrgUi, sobjects: s
)
)
.flatMap(({ queryResults }) => queryResults.records)
.filter((record) => record.ManageableState === 'unmanaged' || record.IsTemplate);
.filter((record) => record.ManageableState === 'unmanaged' || record.ManageableState === 'installedEditable' || record.IsTemplate);
return flowMetadataRecords;
}

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -242,7 +242,7 @@ export function getFlowsQuery(sobjects: string[]) {
left: {
field: 'ManageableState',
operator: 'IN',
value: ['unmanaged', 'installed'],
value: ['unmanaged', 'installedEditable', 'installed'],
literalType: 'STRING',
},
operator: 'AND',
Expand Down

0 comments on commit ede2bf5

Please sign in to comment.