Skip to Content

PL-400: Which Trigger Conditions Ensure Power Automate Flows Run Only When Status Has a Value?

How to Use Expressions for Trigger Conditions in Power Automate SharePoint Flows?

Table of Contents

Question

You have a Power Automate flow.

The flow must run whenever a user adds a document to a SharePoint list and a column in a list named Status has a value.

Which two expressions can you use in a trigger condition? Each correct answer presents a complete solution.

Select all answers that apply.

A. @not(empty(triggerBody()?[‘Status’]))
B. @(empty(triggerBody()?[‘Status’])
C. @not(equals(triggerBody()?[‘Status’],null))
D. @(equals(triggerBody()?[‘Status’],null)

Answer

A. @not(empty(triggerBody()?[‘Status’]))
C. @not(equals(triggerBody()?[‘Status’],null))

Explanation

This item tests the candidate’s knowledge of building cloud flows and using trigger conditions.

The expressions @not(empty(triggerBody()?[‘Status’])) and expression @not(equals(triggerBody()?[‘Status’],null)) will trigger only if there is any value in name field. The expressions @(empty(triggerBody()?[‘Status’]) and @(equals(triggerBody()?[‘Status’],null) will trigger if there is no value.

Microsoft Power Platform Developer PL-400 certification exam practice question and answer (Q&A) dump with detail explanation and reference available free, helpful to pass the Microsoft Power Platform Developer PL-400 exam and earn Microsoft Power Platform Developer PL-400 certification.