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

Condition not working as intended

Hi 

 

I have a 'get items' with a filter query.

I then initialise a variable to count the number of items that were collected after the filter.

I then have a condition whereby if there is only one result, update the list, if there is less, create an item.

 

However in the case that there is only one result... it chooses to create an item?

 

I'm very confused.

 

I've attached photos.

11.png

 

22.png

 

1 ACCEPTED SOLUTION

Accepted Solutions
FoDelement
Level 8

Re: Condition not working as intended

@CameronTCD 

Since you are using it as a String and not an INT, put it in quotes.

 

"1"

2.jpg1.jpg

1 REPLY 1
FoDelement
Level 8

Re: Condition not working as intended

@CameronTCD 

Since you are using it as a String and not an INT, put it in quotes.

 

"1"

2.jpg1.jpg

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!

Top Kudoed Authors
Users Online
Currently online: 250 members 5,353 guests
Please welcome our newest community members: