cancel
Showing results for 
Search instead for 
Did you mean: 

Modelled Deadline Monitoring - Solution for the same

Former Member
0 Kudos

Hi All,

I have a requirement where i need to use modelled deadline monitoring. My requirement is that when a work item is sent to a specific group. If that group does not respond to the work item in 3 days i need to send an escalation mail to that group and their superiors. After that i need to send the escalation mail every day till the work item is not executed.. How do i acheive the same using modelled deadline monitoring and do i need to make a user decision for ths task or is it possible to do the same without that.

Awaiting your reply shortly.

Regards,

Lailu Philip.

Accepted Solutions (0)

Answers (1)

Answers (1)

Former Member
0 Kudos

I think this is discussed before.

After sending a mal after 3 days you need to put a step that waits for 1 day and then check whether the mail activity item is in pocess state and then send mail again.

Thanks

Arghadip

Former Member
0 Kudos

Hi,

Thanks for the prompt response ..I am new to workflow so am unsure of certain things.

I want to know if i need to create a user decision for the same.How do i get to know in the first place that he has not read the workitem and 3 days are over to send the first escalation mail?

How would i get to know whether the mail activity is 'IN process' state to send the email everyday till the workitem is read?? Is there a table for the same?

Request you to be a little more specific..

Thanks

Lailu Philip

Former Member
0 Kudos

Hi Philip,

If you want to get a approval from that group then you can send a User decision. In the user decision Task you can set the Modeled deadline for three days in the "lastest end tab". If you entered the deadline in the latest end tab, then it will show you a another branch, called Modeled deadline.

So after three days there is no responce from that group, then the modeld deadline branch will be executed. Otherwise the normal branch will be executed.

For sending escalation notification every day, place a loop in modeled deadline branch, and you have to code it manually.

Thanks.

Former Member
0 Kudos

Hi,

No, i do not need an approval from their side. All i want is to send the work item to the users inbox. If he does not respond, then send an escalation mail to him . And then keep sending till he does not respond. I have understood the modelled deadline monitoring you have suggested.But the crux here is , my workflow ends with the workitem send to him. so how would i get to know whether he has read it ?? Is it so that if he has read it, this deadline monitoring branch would never trigger?

Thanking you so much for your prompt response..

Regards,

Lailu Philip.

Former Member
0 Kudos

Hi Viji,

I also wanted to know that if i do not create a user decision step, do i put the deadline monitoring of 3 days (Latest end tab)in my work item task and use modelled deadline monitoring. In the modelled deadline monitoring branch, put a step email and trigger the first escalation email and then in the loop for everyday emails?

Regards,

Lailu Philip

Former Member
0 Kudos

Hi Philip,

Fine, Your workflow ends with the workitem send to him. If you are using modeled deadline for 3 days, then after three days the stsem itself will chek the work item status. If still the work item is not read by that group, then it will trigger the deadline model branch.

So in deadline model branch you can place the loop. Inside the loop place a activity. In the method of activity, you can schedule any job to read the workitem status for every day. If the work item status is ready then using the loop step you can loop the activity again and again.

The table SWWWIHEAD contains the status of the work item. Just pass the work item ID and find the status of the work item.

Thanks.

Former Member
0 Kudos

Hi Viji,

I did the same as you have told me to. But when i select the modelled deadline monitoring in the latest end tab of 3 days of my activity to send the work item it creates a branch.. In that branch when i create a step to send email it joins my previous activity work item branch and not a separate branch and this previous branch also routes to my workflow completed . So it is not working.

Former Member
0 Kudos

Philip,

In the latest end tab, Under the Time field, there will be dropdown field called 'Action'.

In the action select 'Modeled'. So it will create a separate branch.

Thanks.

Former Member
0 Kudos

Hi,

In the modelled deadline monitoring, i am succesfully able to send an email to the supervisor after 3 days. But , please tell me the steps i need to do to check after a day after the email is sent,if the work item has been processed.if it is in ready state, then i need to send a mail everyday till the work item is not in completed state. Please tell me the step by step activity for the same.

Regards,

Lailu Philip.

Former Member
0 Kudos

Hi Philip,

I have an idea. But I dont know how much its is good. After 3 days, mail has to be send to the approver. Then make a one background method, In method write a code to append the workitem number into a custom table.

Now create one zprogram, and read the workitem ID from the custom table. Then find the work item status using table SWWIHEAD. Then write a condition, if the status is ready then send a mail to the user using the FM 'SO_NEW_DOCUMENT_ATT_SEND_API1. This whole logic will be in your zprogram.

Then schedule one job and assign this program to that job. So it will run once per day and find the work items with status ready and it will send the mail to the correcsponding User.

Finally you can delete the corresponding entry at the Ztable from your workflow.

I think It will work.

Thanks.

Former Member
0 Kudos

Hi Viji,

This is one solution which is quite feasible. So what you are trying to say is that trying to implement the same is not quite possible in the workflow.

I tried to implement it in the workflow under deadline monitoring branch, but in the log i get the status as no agent assigned for that activty which i have made as a background processing activity with requested start as 1 day.

Is it bcos i am not sending any work item in the activity..

Former Member
0 Kudos

Hi Philip,

As far as i know, its not possible with in the workflow. Its a continous event right? based on time i think its not possible with in the workflow. Also the requested start also not a perfect solution for this.

Thanks.