MIMWAL Generate Unique Value workflow activity & simultaneous activities on the same object

Joe Zamora 96 Reputation points
2021-03-30T23:04:00.263+00:00

Has anyone noticed that running simultaneous (yet distinct) "Generate Unique Value" activities (in two separate workflows) on the same object causes the UniquenessKey to be updated on one of them? For example, if I try to generate an AccountName and an Email for Luke Landlubber at the same time, in two distinct, parallel workflows, the outcomes will look inconsistent:

AccountName: LLandlubber
Email: Luke.Landlubber1@ssss .com

or

AccountName: LLandlubber1
Email: Luke.Landlubber@ssss .com

After some initial confusion, I noticed the pattern and made the email workflow wait on account name, and it produced the desired result:

AccountName: LLandlubber
Email: Luke.Landlubber@ssss .com

Microsoft Identity Manager
Microsoft Identity Manager
A family of Microsoft products that manage a user's digital identity using identity synchronization, certificate management, and user provisioning.
610 questions
0 comments No comments
{count} votes

Accepted answer
  1. Joe Zamora 96 Reputation points
    2021-04-10T02:52:25.413+00:00

    Update 2021-04-09

    Looks like this isn't an issue with MIMWAL after all (thankfully). Turns out, I had a race condition where a user would transition into a set twice, nearly simultaneously. Not something you'd expect, right? I suspect it had something to do with a nested set. Possibly even an issue with the version installed (4.4.1302.0). Anyway, I believe it's fixed after I flattened the transition set, meaning that I took the criteria of the nested set and added that directly to the parent set.

    Unless you hear otherwise, you can assume that I had no more issues. :^)

    0 comments No comments

1 additional answer

Sort by: Most helpful
  1. Leo Erlandsson 1,656 Reputation points
    2021-03-31T11:15:07.197+00:00

    Hi,

    Well, that's not really surprising, as I guess you're generating AccountName separate from Email?

    Please also note that the MIMWAL Generate Unique Value Activity does not guarantee unique values for parallell WFs.

    Br,
    Leo

    0 comments No comments