Quantcast
Channel: Forum Microsoft Identity Manager
Viewing all articles
Browse latest Browse all 4767

Sequential number in workflow

$
0
0

I need to add a sequential number to a user property employee-id. The initial value is e.g. '100'. If I run the powershell script which is part of the workflow for 1 user at a time it works fine. I do this by adding 1 user to the set this workflow/mpr is attached to.
The script will increment by 1 to 101.

If I have multiple users in the set, this method fails. As the workflow is run simultaneously more than 1 user end up with an employee-id of 101.

How can I get a unique sequential number for a workflow?

Thanks


Viewing all articles
Browse latest Browse all 4767

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>