cancel
Showing results for 
Search instead for 
Did you mean: 
Reply
petergriac
Helper II
Helper II

do nothing in if function

Hi all,

Does anyone know how to write 'do nothing' in if statement when the condition is not true?

example if ( condition, 'do an action', 'do nothing')

 

Thanks in advance

1 ACCEPTED SOLUTION

Accepted Solutions
v-yuazh-msft
Community Support
Community Support

Hi @petergriac,

 

If you want to do nothing when the condition is not true, you just need to leave the If no branch of the Condition blank, do not add any actions in it.

And you could add actions that you want to to do in the If yes branch of the Condition.

 

Best regards,

Alice

View solution in original post

3 REPLIES 3
NigelP
Kudo Kingpin
Kudo Kingpin

Hi 

 

Just put false in the false part of the If STatement

 

Regards

 

Nigel

v-yuazh-msft
Community Support
Community Support

Hi @petergriac,

 

If you want to do nothing when the condition is not true, you just need to leave the If no branch of the Condition blank, do not add any actions in it.

And you could add actions that you want to to do in the If yes branch of the Condition.

 

Best regards,

Alice

View solution in original post

Thanks,

This works.

 

Regards,

Peter

Helpful resources

Announcements
MPA_User Group Leader_768x460.jpg

Manage your user group events

Check out the News & Announcements to learn more.

Community Connections 768x460.jpg

Community & How To Videos

Check out the new Power Platform Community Connections gallery!

Welcome Super Users.jpg

Super User Season 2

Congratulations, the new Super User Season 2 for 2021 has started!

Carousel 2021 Release Wave 2 Plan 768x460.jpg

2021 Release Wave 2 Plan

Power Platform release plan for the 2021 release wave 2 describes all new features releasing from October 2021 through March 2022.

Users online (2,169)