cancel
Showing results for 
Search instead for 
Did you mean: 
Reply
apex_amit_7
Level: Powered On

Enable to match date of birth coming from sharepoint lookup field

Hi,

 

I'm enable to match the the date value coming from sharepoint lookup field with the current date.

 

Screenshot (87).png      

below is the formula I'm using in condition 2 
@equals(formatDateTime(item()?['Name_x003a_DOB']?['Value'], 'MM-dd'), formatDateTime(utcNow(), 'MM-dd'))

it always goes to false state if even after the data entered in sharepoint is right.
Kindly help.
2 REPLIES 2
Super User
Super User

Re: Enable to match date of birth coming from sharepoint lookup field

@apex_amit_7:

 

I don't see anything obvious wrong with your expression.  I suspect the issue might be with the actual value you are retrieving from SharePoint and/or how referencing it.

 

Can you post a screen shot of your entire flow?  This will assist in trying to find a resolution.

 

Scott

If I have answered your question, please mark your post as Solved.
If you like my response, please give it a Thumbs Up.

Scott
apex_amit_7
Level: Powered On

Re: Enable to match date of birth coming from sharepoint lookup field

Hi Scott,

I found the solution of it, it was the date which is retrieving in ISO 8601 time format and when we check the MM-dd of current date with it, it goes to the false state.

Helpful resources

Announcements
firstImage

Microsoft Business Applications Virtual Launch Event

Join us for an in-depth look at the new innovations across Dynamics 365 and the Microsoft Power Platform.

firstImage

Watch Sessions On Demand!

Continue your learning in our online communities.

Power Platform 2019 Release Wave 2 Plan

Power Platform 2019 Release Wave 2 Plan

Features releasing from October 2019 through March 2020

thirdimage

Flow Community User Group Member Badge

Fill out a quick form to claim your user group badge now!

fifthimage

Microsoft Learn

Learn how to build the business apps that you need

sixthImage

Power Platform World Tour

Find out where you can attend!

seventhimage

Webinars & Video Gallery

Watch & learn from the Flow Community Video Gallery!

Users Online
Currently online: 47 members 5,000 guests
Please welcome our newest community members: