File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -322,7 +322,7 @@ Resources:
322322 "Resource": "${UpdatingSalesforceWithNotificationsLambdaArn}",
323323 "InputPath": "$.cohortSpec",
324324 "ResultPath": "$.result",
325- "Next": "Amending ",
325+ "Next": "IsUpdatingSalesforceWithNotificationsComplete ",
326326 "Retry": [
327327 {
328328 "ErrorEquals": [
@@ -336,6 +336,18 @@ Resources:
336336 }
337337 ]
338338 },
339+ "IsUpdatingSalesforceWithNotificationsComplete": {
340+ "Type": "Choice",
341+ "Comment": "Is the notifications Salesforce update step complete?",
342+ "Choices": [
343+ {
344+ "Variable": "$.result.isComplete",
345+ "BooleanEquals": false,
346+ "Next": "UpdatingSalesforceWithNotifications"
347+ }
348+ ],
349+ "Default": "Amending"
350+ },
339351 "Amending": {
340352 "Type": "Task",
341353 "Comment": "Applying price-rise amendment in Zuora on each sub in this cohort.",
You can’t perform that action at this time.
0 commit comments