Skip to main content

Notifications

Announcements

No record found.

Community site session details

Community site session details

Session Id :
Microsoft Dynamics 365 | Integration, Dataverse...
Unanswered

RowVersion is sometimes null in retrieve/retrievemultiple response

(0) ShareShare
ReportReport
Posted on by 125

I have a custom workflow activity that retrieves a record, and then needs to update it with the ConcurrencyBehavior set to IfRowVersionMatches in the UpdateRequest. Most of the time this works fine, but in some instances the Entity object returned from the retrieve has a null value for RowVersion.

This is only occurs if the workflow is triggered by a synchronous plugin, i.e. synchronous plugin creates record A, create of record A triggers a synchronous workflow with C# custom step, in that custom step, all retrieve requests give a null value in RowVersion, but return the rest of the entity object just fine.

I can probably work around this by changing the order of events, or making part of the process async, but I wanted to now if there is a reason this is null? Has anyone experienced anything like this? I've not found anything about this is the documentation, as far as I was aware, all retrieved entity objects should always have a value for RowVersion, right?

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

Dynamics 365 Community Update – Sep 16th

Welcome to the next edition of the Community Platform Update. This is a weekly…

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 > Microsoft Dynamics 365 | Integration, Dataverse, and general topics

Overall leaderboard

Featured topics

Product updates

Dynamics 365 release plans