exam questions

Exam PL-500 All Questions

View all questions & answers for the PL-500 exam

Exam PL-500 topic 1 question 14 discussion

Actual exam question from Microsoft's PL-500
Question #: 14
Topic #: 1
[All PL-500 Questions]

You are developing a desktop flow.

You need to include an IF statement that contains AND logic within the flow.

Which expression should you use for the IF statement?

  • A. IF (IsEmpty(Variable1) AND IsEmpty(Variable2)) = $'''True'''
  • B. IF IsEmpty(IsEmpty(Variable1) AND IsEmpty(Variable2))
  • C. IF $'''%IsEmpty(Variable1)% AND %IsEmpty(Variable2)% ''' = $'''True'''
  • D. IF (IsEmpty(Variable1) OR IsEmpty(Variable2)) = $'''True'''
Show Suggested Answer Hide Answer
Suggested Answer: C 🗳️

Comments

Chosen Answer:
This is a voting comment (?). It is better to Upvote an existing comment if you don't have anything to add.
Switch to a voting comment New
devoprevo
Highly Voted 1 year, 11 months ago
this question has no right answers. if you created an if statement you'd write it like this: %IsEmpty(Variable1) AND IsEmpty(Variable2)% and then select the operator 'Equal to (=)' and then simply write 'True' (without the quotes).
upvoted 8 times
...
Gravaviel
Most Recent 3 months, 3 weeks ago
Selected Answer: A
C is a bunch of gobbledygook rubbish syntax. Creating the conditional in PAD and coping to notepad _CLEARLY_ gives A.
upvoted 1 times
...
runtnerd
5 months, 1 week ago
Selected Answer: C
https://learn.microsoft.com/en-us/power-automate/desktop-flows/variable-manipulation says "Every variable name must be enclosed by percentage signs (%)"
upvoted 1 times
...
5b8a256
7 months ago
Selected Answer: C
$" Output " = $"True" is a comparison between two text. If we choose option A then we are getting output of (IsEmpty(Variable1) AND IsEmpty(Variable2)) will be Boolean which cannot be compared to a text $"True".
upvoted 2 times
...
ghjjgjhkhjkjl
8 months, 3 weeks ago
Selected Answer: A
I have verified that A is the answer
upvoted 1 times
...
BP_Bot1
1 year, 1 month ago
Selected Answer: C
Correct - copy the code and paste it in notepad and add THEN END in the code and paste it in PAD
upvoted 1 times
...
candneko
1 year, 3 months ago
Tested and Confirmed, it should be write like this: %IsEmpty(Variable1) AND IsEmpty(Variable2) = True%
upvoted 2 times
...
madimad
1 year, 4 months ago
chatgpt: B
upvoted 1 times
...
da52ca2
1 year, 4 months ago
Selected Answer: A
I agree with MrMiniMite, ravisin216, ab\nd learnedwarned. I also conducted an experiment, which resulted in this. IF (IsEmpty(Variable1) AND IsEmpty(Variable2)) = $'''True''' THEN
upvoted 1 times
...
jyotyada
1 year, 6 months ago
B is correct
upvoted 1 times
...
RPAdrummer
1 year, 6 months ago
None of the offered answers is correct. It PAD IF statement should look like this: %IsEmpty(Text1) AND IsEmpty(Text2)% = True
upvoted 1 times
...
flavours
1 year, 8 months ago
devoprevo is right
upvoted 1 times
...
MrMiniMite
1 year, 8 months ago
Selected Answer: A
Tested and confirmed. IF (IsEmpty(Text1) AND IsEmpty(Text2)) = $'''True''' THEN
upvoted 1 times
RPAdrummer
1 year, 6 months ago
No, that is not correct for Power Automate Desktop.
upvoted 1 times
...
...
NETHKE0009
1 year, 10 months ago
Selected Answer: C
C is correct. Try pasting it to notepad https://powerusers.microsoft.com/t5/Power-Automate-Desktop/How-to-include-the-logical-AND-OR-operators-in-conditionals/td-p/715982
upvoted 2 times
RPAdrummer
1 year, 6 months ago
That is not working in PAD.
upvoted 1 times
...
...
ravisin216
1 year, 10 months ago
Selected Answer: A
should be A, tried to copy the if statement to notepad
upvoted 1 times
...
learnedwarned
2 years ago
Selected Answer: A
Created the condition in PAD and this is what I got when I copied and pasted into Notepad IF (IsEmpty(BinderURL) AND IsEmpty(BinderTitle)) = $'''TRUE''' THEN
upvoted 2 times
...
Anuvind
2 years, 2 months ago
C. If you copy the if condition from power automate desktop and paste in to a notepad. you can see the answer.
upvoted 4 times
Anuvind
2 years, 2 months ago
Or. copy the below code and paste in to power automate desktop. IF $'''%IsEmpty(Variable1)% AND %IsEmpty(Variable2)%''' = $'''True''' THEN END
upvoted 3 times
...
...
Community vote distribution
A (35%)
C (25%)
B (20%)
Other
Most Voted
A voting comment increases the vote count for the chosen answer by one.

Upvoting a comment with a selected answer will also increase the vote count towards that answer by one. So if you see a comment that you already agree with, you can upvote it instead of posting a new comment.

SaveCancel
Loading ...