Question

Business process subprocess

Hi , 

 

I want to create a sub process that will check completion of the task at a destined time on a specific day, and if the task is not completed by that particular time, an email to be sent to owner’s manager reminding him/her that the task needs attention, otherwise process termites. 

 

Could you please give me some guidelines for this 

 

Like

9 comments

Hello,

You can add to your process similar process or create a subprocess that will start with start timer: http://prntscr.com/ob3c8p. Process will read activity and in case it has status "completed" (http://prntscr.com/ob3d1i) it will stop, otherwise it will send an email. 

Best regards,
Angela

Angela Reyes, thanks Angela . But can a subprocess can start with start timer 

Also , If I need to send email on every monday at 4 pm how will start timer work in this case? how do I select owners manager in 'To'?

Arunava,

Timer start signal allows to set such conditions for start. As for the owner manager - you can use read data element to read owner of the task and then read owner of the contact.

 Best regards,
Angela

Angela Reyes,

start timer can be used in subprocess for a case ? it shouldnt start with a simple start ?

Angela Reyes, could you please give a screenshot  for the below requirement ?

Angela Reyes writes:

Arunava,

Timer start signal allows to set such conditions for start. As for the owner manager - you can use read data element to read owner of the task and then read owner of the contact.

 Best regards,
Angela

Arunava,

I use Read data 1 to read activity (http://prntscr.com/ocxsqh), then I read activity contact (http://prntscr.com/ocxsyt) and send an email (http://prntscr.com/ocxt3q).

Angela Reyes,

Thanks Angela , I am requesting you to share the screenshot on timer element as to how to add such conditions for start ?

Dear Arunava, 

Unfortunately, the subprocess can't start with start timer. So you can use Wait for timer intermediate event (http://prntscr.com/odca42). However, it takes only amount of seconds to wait until the process continues as a parameter so you would need to calculate this amount in a script task. You can use a standard C# methods in a script task so you can subtract the DateTime.Now from the needed fire time, convert it to seconds and pass to the parameter in a Wait for timer to have it triggered on a certain time. 

Best regards, 
Dennis 

Log in or register to comment