Check Property Exits or not in Power Automate with different types

To check the value exists in different types we can use Expression in Power Automate. Following are different types of validations.

If the type is string, array or object we can use expression below,

if(empty(triggerOutputs()?['body/DataField']),null,triggerOutputs()?['body/DataField'])

If the type is different type than string, array,

if(empty(string(triggerOutputs()?['body/DataField'])),null,triggerOutputs()?['body/DataField'])

If the type is string, array or object we can use expression below,

if(empty(triggerOutputs()?['body/DataField_value']),null,concat('DataField(',triggerOutputs()?['body/DataField_value'],')'))

Comments

Popular posts from this blog

Linksys Wireless Connection Failure

The security validation for this page is invalid. Click Back in your Web

Access Denied Host Header Sharepoint 2010 Windows Server 2008 R2