diff --git a/libs/features/automation-control/src/automation-control-data-utils.tsx b/libs/features/automation-control/src/automation-control-data-utils.tsx index 4e75462a..cbdd0d6e 100644 --- a/libs/features/automation-control/src/automation-control-data-utils.tsx +++ b/libs/features/automation-control/src/automation-control-data-utils.tsx @@ -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; } diff --git a/libs/features/automation-control/src/automation-control-soql-utils.tsx b/libs/features/automation-control/src/automation-control-soql-utils.tsx index bc1c0aac..584b0830 100644 --- a/libs/features/automation-control/src/automation-control-soql-utils.tsx +++ b/libs/features/automation-control/src/automation-control-soql-utils.tsx @@ -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',