Change Workflow delay

Hi. 

So i am trying to get the Exchange Out of Office message set via ARS

So as you can see i have the start and end date as well as the internal and external message the needs to be set. I have a tick box at the top called Enable Out of Office which is a boolean VA

Now when that is ticked and our Service Desk hit save , I then have a change workflow that is watching for the VA to change to TRUE and then run the change workflow. The work flow has some Powershell that is reading the start and end date and internal and external message attributes values

What i think is happening is that the change work flow is trying to read them attributes before anything has been written to them yet. Is there any way to delay firing the Change Workfklow for a minute? The script is using the function below. 

function onPostModify($Request)
{

}

Parents
  • How are the attributes getting populated?  Is the information coming from the same form as the checkbox is on?  If that is the case, then the property contents should all be coming into Active Roles and being written to AD in the same transaction and thus there should be no timing issue.

    On the other hand, if there is some code that is responsible for writing the attributes then you need to make sure that the code is writing the attribute contents to the same domain controller that Active Roles is looking at.

Reply
  • How are the attributes getting populated?  Is the information coming from the same form as the checkbox is on?  If that is the case, then the property contents should all be coming into Active Roles and being written to AD in the same transaction and thus there should be no timing issue.

    On the other hand, if there is some code that is responsible for writing the attributes then you need to make sure that the code is writing the attribute contents to the same domain controller that Active Roles is looking at.

Children
No Data