cancel
Showing results for 
Search instead for 
Did you mean: 

Problem in deadline monitoring

Former Member
0 Kudos

Hi Experts,

I am facing a problem in deadline monitoring.

For some cases its working fine. and for some cases deadline mails are not getting triggerd.

I have checked in SWIA transaction, in some cases there are entries in LAST AGENT and in AGENT Column and in some cases its blank.

The workitems which contains AGENT contains SELECTED in STATUS column and others are containing READY STATUS.

The Rule I checked for requested start deadline is working fine.

In SWU3 also all the configurations are done

I can't understand what is the problem here.

Its an urgent issue please help..

Thanks,

Accepted Solutions (0)

Answers (5)

Answers (5)

Former Member
0 Kudos

Hi Dhrumit,

How do you manage your deadline monitoring?

i.e:

- Calculation Base using ABAP codes?

- Container assignment?

- Master data?

Can you share your Task Latest requested End print screen?

I'm just wondering if that WI with the deadline monitoring got created after the deadline.

Best regards,

Brian

Former Member
0 Kudos

Hi, here is the screenshot..I have written a method to determine deadline date. I have debugged it and its working fine.


Former Member
0 Kudos

Here In Column LAST AGENT and AGENT, for some workitem we can see that agent found but for some it is blank.

But I am using the same rule. I mean the reminder mail should go to  the same agent only then why for some workitem it is blank that I can't understand..

former_member185167
Active Contributor
0 Kudos

Hello,

"No current processor" doesn't mean there's no agent assigned. It just means nobody has it reserved or is executing it.

By "deadline mails" you mean workitems, right? What exactly is the problem, who are you sending these workitems to?

regards

Rick

Former Member
0 Kudos

Yes by Deadline mails I mean workitems.. the problem is even after deadline meets the reminder mails ( workitems ) are not going in to the agents inbox.

former_member185167
Active Contributor
0 Kudos

Hello,

Please don't use the word "mail" when you mean "workitem", it just confuses things.

You should go to SWI1 and look in the workflow log to see what happened. Is it the case that the workitem was never created, or is it the case that it was created with the wrong agents?

regards

Rick

Former Member
0 Kudos

Workitem is created for the first time..

Act. the requirement is, first the workitem should go to approver A. If A will not take any action on this workitem till the deadline meets, the workitem should again go to A's in box.

Here at first A is receiving the workitem. but after the deadline meets, again its not going in to A's inbox.

Former Member
0 Kudos

Hi Dhrumit,

Thanks for the print screen and explanation.

I am going to take your word for it when you say you have debug and it looks fine for the method.

Due to the fact where none of us is sitting next to you, I need 2 things from you.

1) I would like you to run SWIA/SWI1 report only using that Task ID. At the moment I don't see that this task has ever worked in your print screen.

2) A print screen on every tab of the TASK where you have configured.

By providing the above 2 basic info, you will be surprised that we can detect what is wrong with it. If we still can't see what is wrong with it, we will need logs and all other advance information. So work with us if you need help from us.

Cheers,

Brian

former_member185167
Active Contributor
0 Kudos

Hello,

So you have a user decision workitem and, if the deadline expires, a deadline workitem.

What is supposed to happen to the original workitem if the deadline expires?

As I said before, look in SWI1 to see iwhat has happened - has the deadline workitem not been created at all or has it gone to the wrong agent?

regards

Rick

Former Member
0 Kudos

Hi,

Here is the screenshot of the deadline settings.

Now as per my understanding, an agent will receive a notification in the notifications tab of UWL when deadline reaches like ' Missed Deadline: xxxx xxxx ' right ??

but  a workitem would also go to the approvers inbox again when deadline reaches??

Former Member
0 Kudos

Hi Dhrumit,

You can maitain the particular time of requested end. and write the code in method for requsted start.

and maintain for expression using workitem creation.

Regards

sree

anjan_paul
Active Contributor
0 Kudos

Hi,

  check what is the value of zcl_wfi_utility.get_deadline_date in the log

Former Member
0 Kudos

Hi Dhrumit,

Can we have a look at rule "90000001"?

Best regards,

Brian

anjan_paul
Active Contributor
0 Kudos

Hi,

Whatever I understand from your question that.

May be you are maintain dead line monitoring for Latest Start. And deadline monitoring work only when agent did not reserve the workitem. If an agent reserved the workitem then deadline monitoring will not work as its already started.

just check it.

Former Member
0 Kudos

Hi,

I am using REQUESTED END deadline monitoring.

When this deadline reached a mail will be sent to approver and for agent determination I am using a rule which is working fine.

Some of workitems are in DIALOG STEP status and some in MISSEDDEADLINE status in SWIA transaction and for both the cases in DEADLINE column its showing REQUESTED END.

What is the difference bet. these two status ?? and What could be the problem ??

Please help..

Thanks

anjan_paul
Active Contributor
0 Kudos

Hi,

  just check that workitem is reserved by agent for which deadline mail is not sendin

Former Member
0 Kudos

No the workitem is not  reserved. I have checked that in SWEL transaction. It is in ready state only

anjan_paul
Active Contributor
0 Kudos

Hi,

in swel you check or in swia.

share your swia log screenshot for both workitem where deadline is workin and where not working.

Former Member
0 Kudos

I suggest that you run the ABAP RSWWDHEX (deadline monitoring program) manually using SE38 to get the missed deadline workitem to go to the inbox.  If it works, then the background job is not setup correctly in tcode SWWA.

former_member185167
Active Contributor
0 Kudos

More information please. What sort of deadlines (latest end etc), what do they do exactly, what does the log say, how is the deadline defined (container or offset).

jeroen_verbrugge2
Active Participant
0 Kudos

Hi,

Please describe your scenario well if ask for help. The better your question, the better your answers will be...

Which deadlines are you using?

Which action do you use in the deadline? Display text or modeled?

Are the mails being sent by extended notifications or by the workflow itself?

You're talking about requested start, this is not about mails.

The help on the requested start tab shows:

How Does the Requested Start Work?

If the requested start for a dialog work item is reached, the work item is placed in the Workflow Inboxes of the recipients.

Rgds,

Jeroen

suresh_subramanian2
Active Contributor
0 Kudos

Hello Dhrumit !

             What does the workflow log states when deadline is skipped ?

Regards,

S.Suresh.