Skip to main content

Notifications

Announcements

No record found.

Microsoft Dynamics CRM forum
Answered

Flows - Power Automate

Posted on by 33
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
     

Helpful resources

Quick Links

Replay now available! Dynamics 365 Community Call (CRM Edition)

Catch up on the first D365 Community Call held on 7/10

Community Spotlight of the Month

Kudos to Saurav Dhyani!

Congratulations to the June Top 10 community leaders!

These stars go above and beyond . . .

Leaderboard

#1
André Arnaud de Calavon Profile Picture

André Arnaud de Cal... 287,989 Super User

#2
Martin Dráb Profile Picture

Martin Dráb 225,588 Super User

#3
nmaenpaa Profile Picture

nmaenpaa 101,148

Leaderboard

Featured topics

Product updates

Dynamics 365 release plans