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

Notifications

Announcements

No record found.

Community site session details

Community site session details

Session Id :
Microsoft Dynamics 365 | Integration, Dataverse...
Suggested Answer

How to use Flow to update the Worked By field in the Queue Item entity

(0) ShareShare
ReportReport
Posted on by 54

Hi Guys

I have a custom field on the Case entity called 'new_workedby'. When I change the user name in this field, I want the Queue Item entity 'Worked By' field to reflect the same value. I've had several stabs at doing this with Flow. My latest attempt is below:

So - when the custom field on the Case is changed:

pastedimage1667566117809v1.png

Get the ID of that Case - in this case I've tried to use the object id of the queue item referring to the Unique Identifier of the Case (in the Row ID field below):

pastedimage1667566146096v2.png

Then finally, update the Queue Item 'Worked by' field to reflect the same user that is in the custom field of the case i.e. new_workedby'

pastedimage1667566271883v3.png

I just cannot get this to work - the latest error being:

'Could not find a property named 'objectid' on type 'Microsoft.Dynamics.CRM.queueitem'.'

But there is a field called objectid on the queue item entity! - So I really don't understand why it's erroring?

Any help how to get this flow working would be greatly appreciated.

Many thanks in advance.

I have the same question (0)
  • Suggested answer
    Bipin D365 Profile Picture
    28,983 Moderator on at

    Hi,

    Get a row by id will fail.

    You will have to use list rows action with filter criteria as below

    _objectid_value eq Case from dynamic content

    Now apply loop and then update a row by id.

  • MikeExeter Profile Picture
    54 on at

    Hi Bipin

    Many thanks for reaching out.

    I'm not that versed with Flow - would you mind expanding on that with a screenshot from Flow perhaps? It would help a great deal.

    Kind regards

    Mike

  • Bipin D365 Profile Picture
    28,983 Moderator on at

    Hi,

    Please see below images

    IMG20221105190619.jpg

    IMG20221105190701.jpg

    IMG20221105190711.jpg

    Update A Row -  /systemusers(select workerid field from dynamic content)

    I have exported my flow and uploaded on my GitHub at below location..you can download the zip file and import in your instance if you face any issue while configuring flow based on my images.

    File name starts with Updatequeueitem_

    github.com/.../Power-Automate-Collections

  • Suggested answer
    Bipin D365 Profile Picture
    28,983 Moderator on at

    Hi,

    Check below article on how to import flow using zip file

    powerautomate.microsoft.com/.../

  • MikeExeter Profile Picture
    54 on at

    Hi Bipin

    Many thanks for this! The final step is to clear out the 'worked by' field that was changed in the very first step - what would be the best way to do this - because when I put an expression of 'null' the flow doesn't like it and fails.

    Kind regards

    Mike

  • Suggested answer
    Bipin D365 Profile Picture
    28,983 Moderator on at

    Hi,

    Please check below article.

    www.inogic.com/.../

    Unrelate action can also be used

    learn.microsoft.com/.../relate-unrelate-rows

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

Responsible AI policies

As AI tools become more common, we’re introducing a Responsible AI Use…

Neeraj Kumar – Community Spotlight

We are honored to recognize Neeraj Kumar as our Community Spotlight honoree for…

Leaderboard > Microsoft Dynamics 365 | Integration, Dataverse, and general topics

#1
Martin Dráb Profile Picture

Martin Dráb 49 Most Valuable Professional

#2
André Arnaud de Calavon Profile Picture

André Arnaud de Cal... 38 Super User 2025 Season 2

#3
#ManoVerse Profile Picture

#ManoVerse 31

Last 30 days Overall leaderboard

Product updates

Dynamics 365 release plans