Conditional statement

The Conditional Statement action will branch between two action sets based on the result of a condition. 

Conditional statements will be familiar to those of you with a programming background as an "If / Else" statement. It means you're asking Method to take a particular course of action (one action set) if certain conditions are met. Otherwise (else), it will follow a different course (a second action set).

The action starts off by asking you to add a condition, and then it will open up the Criteria Builder.

Embedding Actions

Actions are embedded within the Conditional Statement action. There are two sections within the conditional statement

  • If...then: actions embedded underneath this line will only run if the condition resolves to true
  • Else: actions embedded underneath this line will only run if the condition resolves to false

When you hover over either of the two, a plus sign appears and allows you to add an embedded action.

You can also drag and drop actions into either conditional.

If you delete the Conditional Statement, all the actions embedded within will also be deleted.

Was this article helpful?

Can’t find what you’re looking for?

Contact Us