Skip to content

Commit

Permalink
fix: add WorkflowFlowAction to sub-object types
Browse files Browse the repository at this point in the history
(cherry picked from commit 239b41d)
  • Loading branch information
mcarvin8 authored and scolladon committed Jan 23, 2025
1 parent 5c4f60b commit 459e337
Show file tree
Hide file tree
Showing 3 changed files with 7 additions and 0 deletions.
5 changes: 5 additions & 0 deletions __tests__/integration/services.test.ts
Original file line number Diff line number Diff line change
Expand Up @@ -31,6 +31,11 @@ const testContext = [
new Set(['Account.TestWFAlert']),
'WorkflowAlert',
],
[
'force-app/main/default/workflows/Account/workflowFlowActions/TestFlowAction.workflowFlowAction-meta.xml',
new Set(['Account.TestFlowAction']),
'WorkflowFlowAction',
],
[
'force-app/main/default/bots/TestBot/TestBot.bot-meta.xml',
new Set(['TestBot']),
Expand Down
1 change: 1 addition & 0 deletions src/constant/metadataConstants.ts
Original file line number Diff line number Diff line change
Expand Up @@ -32,6 +32,7 @@ export const SUB_OBJECT_TYPES = [
'WebLink',
'WorkflowAlert',
'WorkflowFieldUpdate',
'WorkflowFlowAction',
'WorkflowKnowledgePublish',
'WorkflowOutboundMessage',
'WorkflowRule',
Expand Down
1 change: 1 addition & 0 deletions src/service/typeHandlerFactory.ts
Original file line number Diff line number Diff line change
Expand Up @@ -69,6 +69,7 @@ const handlerMap = {
Workflow: InFile,
WorkflowAlert: Decomposed,
WorkflowFieldUpdate: Decomposed,
WorkflowFlowAction: Decomposed,
WorkflowKnowledgePublish: Decomposed,
WorkflowOutboundMessage: Decomposed,
WorkflowRule: Decomposed,
Expand Down

0 comments on commit 459e337

Please sign in to comment.