Hi,
We have developed custom workflow to perform functionality to increment counter like Auto number.
For example when account is created/updated then it will update count on another custom entity. When account is created/updated our WF fires and retrieve Custom entity record and then increments count by 1 and update custom entity with new counter .This functionality works correctly when we create single record but when we do bulk update then it fails. It does not increment counter correctly.
For example when we select the 250 accounts from Home page grid and run the workflow then our WF fires and retrieve Custom entity record and then increments count by 1 and update it in custom entity. It fails to increment count correctly. Instead of 250 it increments count by 235. When we do the same process then it will increment count by 240. We found that when we retrieve record then it returns the same counter for different record.
To resolve this issue we used solution given in below link but it did not work.
msdn.microsoft.com/.../dn707955.aspx
Note: The workflow is Async.
Is anyone facing such type of issue and has solution for it.
Thanks!
Balasaheb