Skip to main content

Notifications

Microsoft Dynamics 365 | Integration, Dataverse...
Unanswered

RowVersion is sometimes null in retrieve/retrievemultiple response

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

December Spotlight Star - Muhammad Affan

Congratulations to a top community star!

Top 10 leaders for November!

Congratulations to our November super stars!

Community AMA December 12th

Join us as we continue to demystify the Dynamics 365 Contact Center

Leaderboard

#1
André Arnaud de Calavon Profile Picture

André Arnaud de Cal... 291,253 Super User 2024 Season 2

#2
Martin Dráb Profile Picture

Martin Dráb 230,188 Most Valuable Professional

#3
nmaenpaa Profile Picture

nmaenpaa 101,156

Leaderboard

Product updates

Dynamics 365 release plans