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

Announcements

News and Announcements icon
Community site session details

Community site session details

Session Id :
Power Platform Community / Forums / Power Automate / Looking up the Process...
Power Automate
Answered

Looking up the Processing user for a Work queue item using the List rows Dataverse connector

(0) ShareShare
ReportReport
Posted on by

Hello community,

 

I wanted to fetch the latest work queue item from Dataverse that was successfully processed by a particular user, using the "List rows" Dataverse connector. 

(Sample record I want to fetch:

ayush_optum_6-1718890300132.png

)

To achieve this, first I've got the row containing my user details from the "User" table by filtering it based on the "IdentiityId" in List rows action.

ayush_optum_2-1718889387385.png

Then, I have another used another List rows action to fetch the latest processed work queue item for this user. To do this, I have applied the filters  "statecode eq 2 and processinguser eq <user GUID>". Here, statecode=2 is used to check for a processed item, and processing user is being mapped to the GUID that I got from User table.

 

Then I have sort the result in a descending order based on the "completedon" column (to get the latest processed item).

And mentioned the "Row Count" as 1 (to get only 1 item).

ayush_optum_3-1718889711488.png

 

But while running this flow, I'm getting the following error:

"error": {
"code": "0x80060888",
"message": "A binary operator with incompatible types was detected. Found operand types 'Microsoft.Dynamics.CRM.systemuser' and 'Edm.Guid' for operator kind 'Equal'."
}
 
It appears that since the "processinguser" column in "Work Queue Items" table will ultimately result a Owner type of data, it's not able to match it with a GUID type.
But, the Lookup column for "processinguser" is the "systemuserid" column in the "User" table, which is of GUID type, then shouldn't it be able to compare and return me the matching records.
How do I go about to get my desired result?

 

The 2 concerned columns for reference:

ayush_optum_4-1718890071213.png

ayush_optum_5-1718890091107.png

 

Categories:
  • Verified answer
    v-xiaochen-msft Profile Picture
    Microsoft Employee on at

    Hi @ayush_optum ,

     

    Please try this

    vxiaochenmsft_0-1718934974271.png

     

    _<column logic name>_value eq <GUID>

     

    Best Regards,

    Wearsky

  • ayush_optum Profile Picture
    on at

    Thank you Wearsky! I was trying to figure this out for several days. Finally your solution helped.

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

Season of Sharing Community Challenge Winners!

Congratulations to our community stars!

Kudos to our 2025 Community Spotlight Honorees

Expanding mentorship, skilling, and AI innovation

Leaderboard > Power Automate

#1
Mohsin Ali Profile Picture

Mohsin Ali 430

#2
11manish Profile Picture

11manish 341 Super User 2026 Season 2

#3
M Bilal Khan Profile Picture

M Bilal Khan 282

Last 30 days Overall leaderboard