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