web
You’re offline. This is a read only version of the page.
close
Skip to main content

Notifications

Announcements

Community site session details

Community site session details

Session Id :
Power Platform Community / Forums / Power Automate / UserVoice OData Filter...
Power Automate
Unanswered

UserVoice OData Filter Help!

(0) ShareShare
ReportReport
Posted on by Microsoft Employee

Has anyone tried the UserVoice template?

 

I can not for the life of me get the OData filter to work. UserVoice has lots of Categories. At the moment the connector will automatically post all new bugs/feature request from UserVoice into VSO. What I'm trying to do is only get 1 category bug/feature request to post into VSO. I have tried lots of different OData filters, but they arent working.

 

https://preview.flow.microsoft.com/en-us/galleries/public/templates/04837470361011e78d1a71a4a5053b4e/notify-your-team-and-log-feature-requests/

uv-msflow.png

 

Categories:
I have the same question (0)
  • v-yuazh-msft Profile Picture
    on at

    Hi @ VAsHachiRoku,

     

    Do you want to only get a specific category request to post into Visual Studio Team Services?

    How do you use the OData filters expressions in the Filter Query field?

     

    I have made a test on my side, a specific category would have a unique “category_id” , if I fill in expressions in the Filter Query field as screenshots below:

    1.png

     

    No matter what category the all new request is, I have also tried many other expressions in the Filter Query field, the trigger would always run to post all new request from UserVoice into Visual Studio Team Services.

     

    To filter request with a specific category, you could refer to workaround below as an alternative way:  

    Suppose the category_id of your request category is equal to “330232”, you could create a flow as steps below:

    Note: You could get the category_id of your request category from the run history of your previous flow which runs successfully.

    1. Add a trigger “When an item is created” of Uservoice connector. choose suggestions in the Table name field.
    2. Add a Condition, the first value choose the “category_id” dynamic content of the trigger, the second value “330232”,the condition in the middle choose “is equal to”.
    3. Add action “Create a work item” inside the “If yes” branch of the Condition, fill in the “Account Name”, ”Project Name”, ”Type”, ”Title” and “Description” field.

     2.png

     

    When an request is created, and the category_id of your request category is equal to “330232”, the request would be posted into Visual Studio Team Services, and the flow would run successfully as below:

     3.png4.png

     

    When an request is created, and the category_id of your request category is “330334”,and not equal to “330232”, the request wouldn’t be posted into Visual Studio Team Services, the flow would run successfully as below:

     

     5.png6.png

     

     

     

     

     

    Regards,
    Alice Zhang

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

Forum hierarchy changes are complete!

In our never-ending quest to improve we are simplifying the forum hierarchy…

Ajay Kumar Gannamaneni – Community Spotlight

We are honored to recognize Ajay Kumar Gannamaneni as our Community Spotlight for December…

Leaderboard > Power Automate

#1
Michael E. Gernaey Profile Picture

Michael E. Gernaey 501 Super User 2025 Season 2

#2
Tomac Profile Picture

Tomac 323 Moderator

#3
abm abm Profile Picture

abm abm 237 Most Valuable Professional

Last 30 days Overall leaderboard