Note that there are some explanatory texts on larger screens.

plurals
  1. POdelay activity in event handling scope activity - windows workflow sharepoint
    primarykey
    data
    text
    <p>I am trying to create a following scenario:</p> <ul> <li>a task gets assigned to the user to complete</li> <li>a task get created for the manager to reassign the user task if necessary (don't ask, they wanted it this way)</li> <li>an email reminder neeeds to be sent when the task is nearing a due date</li> </ul> <p>So, I thought of using EventHandlingScope for this:</p> <ul> <li>I am listening for a task change on the main branch of eventhandlingscope activity, </li> <li>listening to reassign task change in event driven branch - and if reassign task gets activated, reassign the first task to the user specified</li> <li>in another event driven branch use a delay activity and check periodically if user assigned task is nearing a due date and send an email reminder</li> </ul> <p>So, I though eventhandlingscope would be good for this, and it mostly is, except for the problem with the DelayActivity.</p> <p>If I put a delay activity in one of the Event Handlers branches it fires once, but not more. Whereas if I put an onTaskChange activity there it fires everytime somebody changes that task. </p> <p>So, is this the expected behaviour? Why doesn't DelayActivity loop? How could I do this differently? My thought is with a CAG, but this looks a bit more complex... </p> <p>Update: the problem with CAG is that the whole thing blocks until delay activity fires, even if the onChange event fired. This makes sense, but makes it a bit trickier to use.</p> <p>Update2: I've reworded the text to make it hopefully clearer</p>
    singulars
    1. This table or related slice is empty.
    plurals
    1. This table or related slice is empty.
    1. This table or related slice is empty.
 

Querying!

 
Guidance

SQuiL has stopped working due to an internal error.

If you are curious you may find further information in the browser console, which is accessible through the devtools (F12).

Reload