Skip to content

Commit

Permalink
chore: Added OR condition in successCriteria as suggested
Browse files Browse the repository at this point in the history
Co-authored-by: Frank Kilcommins <[email protected]>
  • Loading branch information
SensibleWood and frankkilcommins authored Jul 1, 2024
1 parent e9d640a commit 24caeef
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions examples/1.0.0/bnpl-arazzo.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -169,8 +169,7 @@ workflows:
in: body
value: true
successCriteria:
- condition: $statusCode == 200
- condition: $statusCode == 201
- condition: $statusCode == 200 || $statusCode == 201
onSuccess:
- name: customerIsEligible
type: goto
Expand Down

0 comments on commit 24caeef

Please sign in to comment.