Exam PL-900 All QuestionsBrowse all questions from this exam
Question 159

You are new to working with Microsoft Flow. You create a flow that extracts birth dates for users and then sends a birthday greeting email to users on their birthday.

The flow does not properly extract birth dates.

Where should you make changes?

    Correct Answer: B

    To correct the issue of properly extracting birth dates in a Microsoft Flow, you should evaluate the Expression. Expressions are used to manipulate and handle data, including formatting and extracting dates. If the flow is not processing the date correctly, it likely involves the logic or format being employed in the expression. Ensuring that the date is correctly formatted and compared within the expression is crucial to fix this issue.

Discussion
YogeshfdOption: B

The answer should be B in my opinion

CantStopWontStop

Expression isn't part of it at this point. It's a simple flow to extract and email. The template is largely irrelevant. If you're not pulling data, something is wrong with the connector.

kvinal

I totally agree with you. The answer should be connector. Plus the reason provided also explains this in some way.

Learning_O365

I guess there is problem with the date extraction itself and hence the answer is A instead of B.

MayaYao

For my understanding is A. Because the question mentions that "You are new to working with Microsoft Flow." When I am new to Power Automate, I normally search if there is an established connectors can help my questions. If cannot find and then search for solutions for expressions. Connectors are easier for newbies.

thegambler

I tried to replicate the problem and I have to say - the correct answer really depends on where the problem is: I have a CDS entity named 'Birthdays' with a name field and a birthday field. I want to schedule a daily flow that sends out a greeting to the persons in the 'Birthdays' entity if it is their birthday that day. The first thing I do is that I list all the records from the 'Birthday' entity and simultaneously I get the current time from 'Current Time'-action which is found in the 'Date Time'-connector. Second I apply a Condition to each value from the 'birthday' field to check if the birthday is equal to current time. If yes - send a birthday greeting mail. A possible problem with the above solution is, that the 'Current Time'-action have the following format: '2020-06-30T14:07:13.8691592Z'. So - if you want to use the 'is equal to' condition, you will need to format the 'Current Date' with the expression formatDateTime(). Since we don't know what the problem is, both A and B could both be corrent (or wrong).

powerMaster

thank you for your work, the question states that the birthdays are not extracted properly, I think that this is pointing to the format of the date in comparison to the current date format. So I would somehow go for the expression.

PGG

The extraction problem for me gives you the clue that you are not even parsing any value of any variable to an expression, hence the problem for me is that you don't have a proper CDS connector set up, you maybe trying to connect with SQL for example

nervOption: A

New to MS flow indicates, that no one wrote any expression and why would be? Connector actions allows you to define how exactly to convert date and time. No need for expressions anyway. I will go with connector

Rally95Option: B

B You're new to Power Automate, what are you going to CHANGE on a connector besides from recreating the connection? Exactly, nothing.

rmengOption: B

If the issue is related to extracting birth dates, you should check and potentially make changes in the Expression. The expression is where you define the logic for extracting and manipulating data. If the expression used to extract birth dates is not working correctly, you might need to adjust it. So, the answer is: B. Expression

mastermind01Option: A

The answer should be A because if you are a newbie you don't have much knowledge about Expression.

hintya

In that case newbie might have made wrong expression? Also, the question says does not "properly" extract. It means it is extracting but the results are not as expected. So I believe expression is the answer.

hxwinchesterOption: A

As a newbie in power automate, I'd definitely go with A based on the explanation stated above. I mean why bother creating expressions when the platform provides a connector that does the job defined.

SW85

I agree with your logic here

DumBotOption: B

Last time i check, connector were assign by Power automate in the design phase of the flow. We can add one in the step but again it's a connector either it work, or not. Solid B as far has i am concern.

VivekSood

The comments below totally confused me...to me both answers A &B seems correct

CLAW_Option: B

CoPilot says to focus on the Expression and to specifically check how you're handling the date data. Make sure youre using the correct format and that any variables or fields you're referencing are not null.

siva2502Option: B

The answer should be B as expression might be wrong which provide invalid date

XtraWestOption: B

B. Expression (as per Chat GPT)

abraham76Option: B

Its B I think, because Expressions are a way to manipulate data, for example, combine two strings, or a mathematical operation.While Connectors are pre-built APIs that allow you to connect to different services, like SharePoint, Dynamics, or OneDrive, and perform actions such as retrieving data or creating new items.

abraham76Option: A

Its A I think

Candy2002Option: B

I think it is B, it said not properly, so it is very likely the expression is wrong

SaltnPepper78Option: A

I feel that both A and B are correct. When I was trying to answer this, my first answer was B but since "Date Time" is called a connector which I got to know only now, so I would go for A. That connector has a lot of functionalities for date conversions, even for timezone conversion which makes it a better choice.

mchatzipetrouOption: B

Since the question says "The flow does not properly extract birth dates." If there was a connector problem, wouldn't that mean that there would be no data extraction?