Skip to main content

Notifications

Announcements

No record found.

Community site session details

Community site session details

Session Id :
Customer experience | Sales, Customer Insights,...
Answered

Flows - Power Automate

(1) ShareShare
ReportReport
Posted on by 37
Good Afternoon,
 
So I have been trying to understand why this Flow is throwing an error code.
There are two 2 Option Set fields that the Flow needs to trigger off.
1. All Products Added
2. No Product
 
So this is what the trigger looks like:
 
//
 
When I go to test, I get this error message:
 
Exception parsing aze_allpoductsadded eq true,aze_noproduct eq true submitted for attribute filterexpression of callback registration. Target entity: aze_regulatorycase. Exception: Microsoft.OData.ODataException: Syntax error at position 28 in 'aze_allpoductsadded eq true,aze_noproduct eq true'.
   at Microsoft.OData.UriParser.ExpressionLexer.ValidateToken(ExpressionTokenKind t)
   at Microsoft.OData.UriParser.UriQueryExpressionParser.ParseExpressionText(String expressionText)
   at Microsoft.OData.UriParser.ODataQueryOptionParser.ParseFilterImplementation(String filter, ODataUriParserConfiguration configuration, ODataPathInfo odataPathInfo)
   at Microsoft.OData.UriParser.ODataQueryOptionParser.ParseFilter()
   at System.Web.OData.Query.FilterQueryOption.get_FilterClause()
   at Microsoft.Crm.ObjectModel.EdmModelEvaluator.EvaluateFilterExpression(String filterExpression, ODataQueryOptions queryOptions)
   at Microsoft.Crm.ObjectModel.EdmModelEvaluator.EvaluateFilterExpression(String filterExpression)
   at Microsoft.Crm.ObjectModel.CallbackRegistrationService.<>c.<.cctor>b__79_0(EdmModelEvaluator evaluator, String testValue)
   at Microsoft.Crm.ObjectModel.CallbackRegistrationService.ValidateInputEntity(IBusinessEntity entity, ExecutionContext context, IFeatureDetailContainer featureDetailContainer)
 
Thank you
Shawn
  • Verified answer
    Leah Ju Profile Picture
    Leah Ju Microsoft Employee on at
    Flows - Power Automate
    Hi,
    The problem is that you use the symbol ','
    Your requirement should be that one of these two fields is equal to true to start flow, right?
    If so, you need use or, Like this:
    aze_allpoductsadded eq true or aze_noproduct eq true
     
    Please refer to the following documentation for more details:

    I hope you can mark my answer verified if it answer your question! If you have any questions, please feel free to contact me.
    Regards,
    Leah
     

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

Daivat Vartak – Community Spotlight

We are honored to recognize Daivat Vartak as our March 2025 Community…

Announcing Our 2025 Season 1 Super Users!

A new season of Super Users has arrived, and we are so grateful for the daily…

Kudos to the February Top 10 Community Stars!

Thanks for all your good work in the Community!

Leaderboard

#1
André Arnaud de Calavon Profile Picture

André Arnaud de Cal... 292,516 Super User 2025 Season 1

#2
Martin Dráb Profile Picture

Martin Dráb 231,409 Most Valuable Professional

#3
nmaenpaa Profile Picture

nmaenpaa 101,156

Leaderboard

Featured topics

Product updates

Dynamics 365 release plans