Skip to main content

Notifications

Community site session details

Community site session details

Session Id :
Copilot Studio - General
Unanswered

Use Yes No condition to filter from Share Point list and display message

(0) ShareShare
ReportReport
Posted on by 58

Hi, 

I am trying to use the condition - "Yes / No" in a flow to get the bot to filter from a Share Point list. The Yes option works well, but when the no condition should be actioned nothing happens. I'm trying to get the bot just to display a message to the user for no but am not sure where I am going wrong. Can anyone advise please? Do you need to use the compose option as I have only used the get items from SharePoint option, which I know works and initialise variable for my yes table display.  

 

Thanks, 

 

 

Categories:
  • Alexa2022 Profile Picture
    58 on at
    Re: Use Yes No condition to filter from Share Point list and display message

    Thanks all -  I think  it might be working now. I have ended up creating another variable as an output and I think it's working now. 

  • JonDoesFlow Profile Picture
    on at
    Re: Use Yes No condition to filter from Share Point list and display message
    You could initialise a string variable, call it Response. Then after the get items step for SharePoint, you could do a condition. The condition to evaluate would be looking at the length of the body of the get lost step: length(body) Then see if it is greater than 0. If it is set the Response variable you need for Yes. If no, then set the response variable value to what you need for no. Then pass this back to the chatbot.
  • Expiscornovus Profile Picture
    31,711 Most Valuable Professional on at
    Re: Use Yes No condition to filter from Share Point list and display message

    Hi @Alexa2022,

     

    Can you share a screenshot of your flow setup and one of your Power Virtual Agent topic? This might help us troubleshoot and find your issue.

Under review

Thank you for your reply! To ensure a great experience for everyone, your content is awaiting approval by our Community Managers. Please check back later.

Helpful resources

Quick Links

🌸 Community Spring Festival 2025 Challenge Winners! 🌸

Congratulations to all our community participants!

Warren Belz – Community Spotlight

We are honored to recognize Warren Belz as our May 2025 Community…

Congratulations to the April Top 10 Community Stars!

Thanks for all your good work in the Community!

Leaderboard > Copilot Studio - General

#1
Romain The Low-Code Bearded Bear Profile Picture

Romain The Low-Code... 25

#1
Pablo Roldan Profile Picture

Pablo Roldan 25

#3
stampcoin Profile Picture

stampcoin 10

Overall leaderboard