Skip to main content

Notifications

Announcements

No record found.

Microsoft Dynamics CRM forum
Answered

Trigger flow when item enters a specific queue

Posted on by 5

So I'm trying to trigger a flow in power automate that only activates when an item is added to a specific queue.

The way I'm doing this is using the 'When a row is added, modified or deleted' trigger in the dataverse connector set to trigger when a row is added to the entity Queue Items filtered so that the 'queueid' is equal to a specific queueid. This fails with the message "Microsoft.OData.ODataException: Could not find a property named 'queueid' on type 'CallbackRegistration.queueitem'."

Not quite sure what's going on here, since the field queueid definitely exists in the queueitem entity. 

If anyone knows how to fix this or an alternative method of triggering my flow then please let me know. 

Screenshot of connector: 

pastedimage1645721108009v1.png

Full Error Details:

Exception parsing queueid eq '3c96d059-db6f-ec11-8943-00224842b5ba' submitted for attribute filterexpression of callback registration. Target entity: queueitem. Exception: Microsoft.OData.ODataException: Could not find a property named 'queueid' on type 'CallbackRegistration.queueitem'.
at Microsoft.OData.UriParser.EndPathBinder.GeneratePropertyAccessQueryForOpenType(EndPathToken endPathToken, SingleValueNode parentNode)
at Microsoft.OData.UriParser.EndPathBinder.BindEndPath(EndPathToken endPathToken)
at Microsoft.OData.UriParser.MetadataBinder.Bind(QueryToken token)
at Microsoft.OData.UriParser.BinaryOperatorBinder.GetOperandFromToken(BinaryOperatorKind operatorKind, QueryToken queryToken)
at Microsoft.OData.UriParser.BinaryOperatorBinder.BindBinaryOperator(BinaryOperatorToken binaryOperatorToken)
at Microsoft.OData.UriParser.MetadataBinder.Bind(QueryToken token)
at Microsoft.OData.UriParser.FilterBinder.BindFilter(QueryToken filter)
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__50_0(EdmModelEvaluator evaluator, String testValue)
at Microsoft.Crm.ObjectModel.CallbackRegistrationService.ValidateInputEntity(IBusinessEntity entity, ExecutionContext context, IFeatureDetailContainer featureDetailContainer)

  • Verified answer
    Bipin D365 Profile Picture
    Bipin D365 28,962 Moderator on at
    RE: Trigger flow when item enters a specific queue

    Hello,

    Replace queueid in filter rows with _queueid_value

    Please mark my answer verified if this is helpful!

    Regards,

    Bipin Kumar

    Follow my Blog: xrmdynamicscrm.wordpress.com/

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

Anton Venter – Community Spotlight

Kudos to our October Community Star of the month!

Announcing Our 2024 Season 2 Super Users!

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

Dynamics 365 Community Newsletter - September 2024

Check out the latest community news

Leaderboard

#1
André Arnaud de Calavon Profile Picture

André Arnaud de Cal... 290,564 Super User 2024 Season 2

#2
Martin Dráb Profile Picture

Martin Dráb 228,651 Most Valuable Professional

#3
nmaenpaa Profile Picture

nmaenpaa 101,148

Leaderboard

Featured topics

Product updates

Dynamics 365 release plans