Skip to content

Check if property exists in Object in Power Automate

Introduction: In this blog, we will understand how we can check if a property exists in Object in Power Automate(Microsoft Flow).

Steps to be followed:

If the property is of type string, array or object you can use the below Expression:

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

If the property is other than string, array, object OR you don’t know the data type of property use below Expression.

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

How to check Lookup field value exist in the object and Set its value

if(empty(triggerOutputs()?['body/_crff1_country_value']),null,concat('crff1_countries(',triggerOutputs()?['body/_crff1_country_value'],')'))
0 0 votes
Article Rating
Subscribe
Notify of
guest
0 Comments
Inline Feedbacks
View all comments