Microsoft Flow User Interface is quite simple and intutive but it still gives you an advanced mode to write scripts, we are going to have a glimpse of it.

Advanced mode is available when you have applied condition.

msflowconditioneditconditionmsflow

One example is below, lessorequals is the conidion, Budget is the column name and 100000 is the compare value

@lessOrEquals(triggerBody()?[‘Budget’], 100000)

More complex conditions can be written using Workflow Defintion Language.

More examples

@contains(triggerBody()?[‘Budget’], 100000)

Bascially advanced mode needs to be used when you want to satisfy multiple conditions as User Interface only allows Single condition

One example is below, here we are matching Tweet text with multiple hashtags which uses an OR condition

@or(contains(triggerBody()[‘TweetText’], ‘SharePoint’), contains(triggerBody()[‘TweetText’], ‘Office 365’), contains(triggerBody()[‘TweetText’], ‘OneDrive’))

In case you need more help on this or other SharePoint issues please contact us via our Contact Us page or via our Facebook page or via Twitter

Like us on Facebook and follow us on Twitter

 

2 thoughts on “Microsoft Flow – Advanced mode options #SharePoint #MicrosoftFlow

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Google+ photo

You are commenting using your Google+ account. Log Out / Change )

Connecting to %s