Tuesday, March 30, 2021

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

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@example.com

or

AccountName: LLandlubber1
Email: Luke.Landlubber@example.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@example.com

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.  :^)

3 comments:

  1. 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: cotton white duvet sets , velvet razai cover price in pakistan

    ReplyDelete
  2. Thank you for making the honest try to explain this. I feel very strong about it and wish to be informed more. If it’s OK, as you attain extra intensive knowledge, could you thoughts adding more posts similar to this one with more information? It could be extremely helpful and helpful for me and my colleagues.

    ReplyDelete
  3. วันนี้จะมาแนะนำ ทดลองเล่นสล็อต megagame กับเว็บไซต์เราได้เเล้ววันนี้ที่ MEGA GAME ทุกท่านจะพบ กับเกมสล็อตออนไลน์ รูปแบบใหม่มีมากกว่า 1000 เกมที่เราได้คัดสรรมาให้นักเสี่ยงโชค

    ReplyDelete