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?
Stay up to date on forum activity by subscribing. You can also customize your in-app and email Notification settings across all subscriptions.
André Arnaud de Cal... 291,253 Super User 2024 Season 2
Martin Dráb 230,188 Most Valuable Professional
nmaenpaa 101,156