This discussion has been locked.
You can no longer post new replies to this discussion. If you have a question you can start a new discussion

Free Lync numbers query in process

I have a provisioning process where is a step which queries free Lync number from a pool. It then sets this free number to person's Lync account. Problem is that when there are several provisoning processes running at same time, the query returns same number for multiple persons.

Is there a way to make a process step to wait until same step is run in the other process?

I would not want to make starting the whole process wait as there are multiple steps in it and some of them are very time consuming, so makin provisoining processes run one by one would not make sense.

I have 1IM v. 8.0.1

Parents Reply Children
  • You could set "Max. instances" = 1 for the used Process task. (Designer: Navigation->Process Orchestration->Process components) This is a global setting. It will effect all processes using this Process task. Only one instance of this process task will be allowed to run per queue (QBMServer).

  • humm, maybe it's not solution for this as there is some other powershell step in the process that could take long time (migrating the Exchange mailbox) and if only one step of those could be running at same time it will delay the new user creation a lot.

    I did solve this by creating an configuration parameter which is used as "lock", I put it to "locked" status before asking the next free Lync number. And open the lock after I have got the number. So I created an additional step before requesting the next free number from Lync server, this step check the lock status and don't go forward until the lock is opened. After first tests it seem to be working