Sending recursive mails upon reaching the deadline until the task is completed

Recently, we encountered a scenario where-in we need to send recursive mails for every xx hours, when the deadline is reached, until the task is completed. I am presenting the same here, with a simple example, hoping that this would be useful to you all. 

Start a new workflow and define a "User Decision" step. For steps on how to define a User Decision step, click here.

In the step "User Decision", switch to tab "Latest End" and provide the details as shown below:

In the action, select "Modeled" from the list. Enter the name of the outcome.

 

Click on "Transfer and to Graphic" (Green tick button).

You can notice that there are 3 branches now. Two belong to the User Decision Step (YES/NO) and the other one is of Modeled deadline. So whenever a deadline is reached, this branch executes. When the user completes his task, it would either take YES or NO branch accordingly.

Now assume that we need to send repetitive mails to the agent for every 3 minutes, until he completes the task (in this case, acting on User Decision step).

Double-click on "Undefined step" in the "Modeled" branch and select LOOP(Until)

Using "Loop (Until)",  we would be sending emails repetitively for every 3 minutes. To keep the loop open continuously, lets define a condition which would never be met.

Enter a step name and then click on "Click here to create a new condition".

Since we intend to make this Loop indefinite, create a condition similar to the following one.

Now go back to the main screen.

The above screenshot is of the step "Loop (Until)". Now double-click on the "Undefined" step above and create an email step.

Enter the recipient name and other details as shown above.

....To continue click here

Please send us your feedback/suggestions at webmaster@SAPTechnical.COM 

HomeContribute About Us Privacy Terms Of Use • Disclaimer • SafeCompanies: Advertise on SAPTechnical.COM | Post JobContact Us  

Graphic Design by Round the Bend Wizards

footer image footer image