Conditional Deadline monitoring.

Hi,
I have one requisition form through which we are raising two types of request Attendence and Absence.
Now for both these types of request we are triggering same workflow.
In this workflow first activity is Approval activity.
Now my question is i want to use Latest End Deadline monitoring in this activity (Approval activity) but only for one request type, say Absence Type, but for Attendence Type i don't want deadline monitoring.
How can i achieve this?
Regards,
Amar

Dear Rick,
Thank You for your help.
It solved my earlier issue, now i am facing another issue.
Scenarion is:
In my Approval Activity, i am using certain conditions within Conditions Tab-> Complete Workitem ( i am cecking REQ_Status = 'A').
That means if this condition satisfy my workitem should get complete.
Now after raising my requisition, initially value for container element REQ_Status is blank (initial), now with the help of function SAP_WAPI_WRITE_CONTAINER i am setting the container element REQ_Status = 'A'.
And then i am executing report RSWWCOND (Job for condition evaluation).
Then according to my knowledge my workitem should get completed, but nothing is happening and my workitem is still in ready status only.
Can you please help me to solve this problem.
Regards,
Amar

Similar Messages

  • Multiple levels escalation for deadline monitoring

    Hi all,
    We have a business requirement to perform multiple levels escalation in one of the workflow steps. If the approver does not approve the work item(WI) after one day,  a mail notification will be sent to the approver.  A second mail will be sent again if approver still doesn't approve WI after 48 hours.  Then the third/fourth mail will be sent to approver and approver's boss if approver still doesn't approve WI after 72 / 96 hours.  The fifth mail will be sent to approver's boss's boss if WI is not approved still after 5 days.
    I know how to do simple and modeled deadline monitoring in workflow builder. But I don't know whether our business requirement can be achieved in workflow builder( and this is a step in dynamic parallel processing).  Other option I have is to create an ABAP report to go through the table stores workflow run time data and make this report run several times a day in the batch to send mail notification reminder.
    Did anybody have a similar business requirement like ours? What's the best way to handle it - build it in workflow builder or write an ABAP report?
    Thank you in advance,
    Merta

    Hi Merta,
    We had a similar requirement and this is how I achieved it:
    1.  Pleace your approval task into a loop (while not approved) and create a container element as the approval flag.  This allows you to get out of the loop when the item has been correctly actioned.  Also create a DL element to hold your calculated deadline value;
    2.  Create a method and task to determine the next escalation point based on how many loop passes the instance has had, ie:
         Pass 1 - DL = sy-datum + 1 day;
         Pass 2 - DL = DL1 + 1 day, and so on.
    3.  Create a method to determine who should get what.  Link this to a condition so you know whether to send a mail or escalate the entire workitem.  Create the notification as a send mail within the condition;
    4.  Change the Deadline parameters in your step to "Refer.date/tim" = Expression and bind the DL element;
    5.  Set the processing obsolete property to ensure the workitem is killed when a new pass (and therefore and new deadline/agent etc) is started.
    See the following:
    This one handles the loop/obsolete concept.
    http://help.sap.com/saphelp_47x200/helpdata/en/c5/e4b97e453d11d189430000e829fbbd/frameset.htm
    http://help.sap.com/saphelp_47x200/helpdata/en/bc/ecdd5ad24e11d2b494006094b9ea0d/frameset.htm
    Regards
    Gareth

  • Doubt in deadline monitoring

    Hi,
    I have a user decision where deadline monitoring is active. To be specific "Latest Start" is activated. In the "Conditions" tab "Complete Work Item" tab has a condition set. The condition is Dflag = 'X'. This means when this condition "Dflag = X", is true, the status of the workitem is set to Completed. This condition is set in the deadline branch.
    Question 1) Does this mean that the workitem will disappear from the inbox once deadline has reached and this condition has been set?
    Question 2) If it doesnt disappear, then is it possible to execute the workitem after deadline is reached and this condition has been set?
    The reason is when I see the techncal log I am observing the following.
    1) Deadline has reached and Dflag has been set to X in the deadline branch.
    2) Though the deadline has reached on "01.04.2007 - 11:31:05" the workitem has been processed on "02.04.2007 - 04:10:22 "
    3) What should have happened is this workitem should be completed and the branch "Condition for 'Complete Work Item' is true" (bcoz conditions tab is set )should be executed.
    Please help.
    Thanks
    Abhishek

    Question 1) Does this mean that the workitem will disappear from the inbox once deadline has reached and this condition has been set?
    -> The workitem will not disappear, it will be set to complete in ur case.
    Question 2) If it doesnt disappear, then is it possible to execute the workitem after deadline is reached and this condition has been set?
    If the condition has been set DFLG=X the workitem is already set to complete and it should go to the next processing step.
    So as soon as you have the condition DFLAG=X WI should be set to complete and your path should get executed.
    now - The fulfillment of the condition is checked by the background job for condition evaluation which is run periodical - i am not aware of which job does this but checking could be delayed cause of the periodic job.
    What happened to the workitem after completion did ur path get executed at a later stage ?

  • Workflow Deadline monitoring

    Hi,
    Is it possible to re-trigger deadline monitoring more than once, so that if a PO approver has not released a PO within 24 hours, they will receive a reminder every 12 hours until this task

    hi..
    I hope that you are using an activity step to send workitem to PO approver to approve the PO..
    After that step you do as below,
    1. Create a loop which loops until your condition (PO approver approves the PO) is met..
    2. Insite loop place an activity step with BOR as selfitem and method as sendtaskdescription (This is used to send mail remainders to approver)
    3. In that activity step add a requested start deadline of 12 hrs so that mail is sent every 12 hrs..
    4. Note that here you are not inserting you actual activity step that you send to PO approver inside loop. So you need not worry that workitem is send repeatedly to him. Only activity step to send remainder mails is inside loop.
    Hope this helps..
    Cheers,
    Bharath
    Edited by: bharath padmanabhan on Jul 11, 2011 6:20 PM

  • Modelled Deadline Monitoring - Solution for the same

    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.

    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.

  • Error in Schedule Background Job for Deadline Monitoring of swu3

    While Auto Customization swu3 i am getting error message 'Output device "" not known' in 'Schedule Background Job for Deadline Monitoring'
    Please advice what could be cause of it

    the earlier problem of background job was solved by changing the  output device assigned to user wf-batch .
    regarding the transport request :
    when i was trying to execute the step : "Schedule bakgrd for missed deadlines " MANUEL it was giving me an option of SAVE AND SCHEDULE . which was creating the transport request . but when i executed it automatically it worked fine without asking a request to me ... i don't know why )-: ... probablly we can specify a different interval then the standard of three minutes and which will be transported (it's just a guess) . i have  executed it  automatically ...
    well thanks all for u r help

  • Deadline monitoring & extended email without customizing a new workflow?

    Hi,
    I have a Position setup in Partner Profile - Post Processing:Permitted agent, to be notify if processing errors occur on the inbound idoc interface.
    My questions are:
    1. Besides receiving work item in SAP inbox for the idoc fallout, is there any way to send extended notification Outlook email to the users in that position when processing error occured?
    2. How can i setup a deadline monitoring for the work item triggered only by these specific idoc message variant? In SWWA, it does not narrow down by workitem, permitted agent,partner profile etc.
    3. If #2 can be fulfill, is it possible for me to trigger a new work item to another user/position? An escalation to next level after due date.
    I know this can be done through customizing a workflow, but in my situation, i need to search for a solution in a standard existing SAP way without creating any new workflow, program or object.
    Any suggestions?
    Thanks.
    Regards
    Eunice
    Edited by: Huwi Yin Puah on Oct 1, 2009 1:08 PM
    Edited by: Huwi Yin Puah on Oct 1, 2009 1:10 PM

    Huwi,
    1# You can send the external notification using Send mail step in the standard workflow it self. I suppose, You can add new steps in Standard Workflow also. Use Send mail step and chose recipient type as "Email Address'. Pass the email Address and it will sent out to MS outlook inbox if all the SCOt Configurations are done.
    2# You can activate the deadline monitoring on any activity by
    double click on the activity
    goto tab Latest End
    Select the relevent options
    3# For excalation you can set the deadline out come as a "Modeled" outcome. It would provide you an extra wing in your approval task and in that extra wing you can create your own task putting agent as manager's manager.
    Hope it helps!
    Cheers,
    Vikash

  • Background Scheduling - Deadline Monitoring

    Hi Experts,
    I have created new maintenance plan , its around 250 for Mechanical and 250 for Electrical
    Maintenance plan having strategy like every two month , every three month , every six month etc..
    Scheduling period is 3 year
    Now scheduling will be done through IP10 one time , but after first call object scheduling will get hold.
    I want to make it background scheduling - Deadline Monitoring
    Now the requirement is , For Example :
    Maintenance plan X have PM plan date is 21.07.2014
    Maintenance plan Y have PM plan date is 24.07.2014
    Maintenance plan Z have PM plan date is 29.07.2014
    As per above example each equipment will have different plan date , background scheduling can be done through IP30 but by the date is concern how can make it possible ?
    Please advise each maintenance plan has to be run as per their plan date.
    Thanks,
    Abhishek

    Hi Mr.Jogeshwara,
    Nice Document , Its really useful
    But my query is each equipment have different plan date , as explained in above example
    If Maintenance plan have Cycle Unit 60 day and Plan X date is on 21.07.2014 then 21.07.2014+60day , same as if maintenance plan Y date is 25.07.2014 then 25.07.2014 +60day
    Like that
    background scheduling needs to be done as per cycle unit
    If i will do background scheduling together of both the above maintenance plan X and Y then scheduling will be run exactly after 60 day and order will be generated in advance for Maintenance plan Y.
    Hope you understand my query.
    Thanks,
    Abhishek

  • Workflow Deadline Monitoring for SC in SRM 7.0

    Hi,
    I have activated the deadline monitoring for WF_APPR_LATEST_START event for 1 hour. But didnt see any notification to the requestor and the approver. So need help here.
    Below is the setting that i have done to activate deadline.
    1. In Define event > BUS2121 > WF_APPR_LATEST_START:SC
    2. Define Event Schema > BUS2121 > Event scema : SC > WF_APPR_LATEST_START:Message (low priority):APPROVAL_DEADL_NOTIFIC_NEW:1.
    Thanks In Advance.

    Masa thanks for replying..
    They are in place.
    I checked the Workitems Log for administrator ... and could see the workitem 'Trigger Event: 'WF_LATEST_START'' fired exactly after one hour the SC was created as set in the config... but no notification is sent to Outlook.
    Background Job RSWWDHEX is also running every 5min ... But didnt see any notification.

  • Problem in deadline monitoring of batches

    Dear experts,
    Deadline monitoring of batches (transaction QA07) is not working. I tried running this but it did not post stock of a batch whou2019s expiry date was in next 2 days in blocked stock. I had specified the material no, plant, initial run in days (the one that is underu201D batch status change when expiration date is reachedu201D) and also flagged the checkbox for u201CBlock batchu201D. All other fields were left empty. Also QM module is not active. The message was u201CNo entries foundu201D , I confirmed the batch details with u201CMSC2Nu201D , it was in next 2 days and the same is reflected in report u201CMB5Mu201D too.
    Please let me know whether QM is required to be active for execution of QA07 or there is some other problem.
    thanks in advance

    Ok... I'm still confused. Why can't you run the standard deadline mointoring program?
    I believe you still need to activate the 09 inspection type but this can be done in mass using QA08.  Since your not using inspection intervals, don't maintain the inspection interval field in the QM view.
    No config needs to be done, the standard as delivered config in QM should work.
    Run the deadline mointoring program (QA07?) but only fill in data in the bottom half for blocking expired batches.
    Set the program up to to run nightly with whatever 'window' you desire, i..e block those that expire in 1 day, or 5 days, or ten days.
    If you are using batch status management, then the batches will be restricted.  If you are not, they will be moved to blocked stock.
    Craig

  • Extended notification and deadline monitoring

    We are using extended notification to deliver new and changed workitem by email.  Now we want to update some workflow approval tasks to add deadline notification.  In SWU3 workflow customizing, we had setup "Schedule Background Job for Deadline Monitoring" to run job RSWFSLSDLEX (previous version is SWWDHEX). 
    My question: if there is some outstanding workflow task meet the deadline, will the notification email sent out by job RSWFSLSDLEX or extended notification report SWN_SELSEN?  Thanks in advance.
    Regards,
    Donald

    Hi,
    The deadline monitoring job only creates additional workitems if a deadline is met, the sending of an email job retrieves workitems and sends them as email.
    Kind regards, Rob Dielemans

  • Srm 70 BRF deadline monitoring BUS2201

    Dear SDN-ers,
    We are using SRM70 process controlled workflow.
    In my project we would like to use deadline monitoring on PO approval workitems.
    When we check the customising for deadline for events Business object BUS2201 does not contain any usable events for monitoring deadline and sending notifications when the deadline is passed. See also table BBPC_EVENT_DEF.
    In the customising for BUS2121 there are events available like WF_APPR_REQUESTED_STARt etc.
    Can we create those events for BUS2201 and how can we do this?
    Kind regards,
    Johan

    Hi,
    I have not tested but you can add WF_* event in customizing.
    SRM -> SRM Server -> Cross-Application Basic Settings -> Event and Event Schema for Alert Management -> Define Events and Define Event Schema.
    Regards,
    Masa

  • Date Profile with Actions and Deadline Monitoring

    Hi Folks ,
    I have met an requirement of Actions with Deadline Monitoring of Date Profile . I could able to see Date profile with Day Rules in the standard , But i have met an requirement for very high imp - 2 hrs , High - 4 hrs .... etc. Where in Standard Date Profile i checked all the Date Rules which were in the XML format which describes about Day only.
    I m looking for an XML code for Date - DDMMYY & Time Format - HHMMSS and which supports my requirement.
    Would be very thankful if any could forward any step for Actions with Date profile with Time depandant.
    Thank you
    Regards,
    Amrita

    Hi Amrita,
    You take the standard XML code for the date time and copy as per your requirement and give the duration and time unit. Then assign to the action profile and see the action is appearing in transaction.Then go to tcode CRMC_ACTION_JOB and execute that transaction from their. Then the date you want to trigger the mail it will trigger in that time.
    Thanx
    Chinmaya

  • How to send recursive deadline monitoring mails?

    Hi all,
    I have to send a deadline monitoring mails to the approver for every 3 days till the approver takes some action. I am able to send the deadline monitoring mail once by using 'LATEST END' tab.
    even tried using loop, but i am getting mails continuously.
    Please help me..
    Regards,
    Gautham P

    Hi Gautham,
    <b>Activation</b>
    Deadline Monitoring is activated by selecting a reference date /time for the relevant deadline (on the relevant tab page of step).
    <b>Reference date/time options</b>
    Creation date/time of the work item
    Creation data/time of the workflow
    A date in the form of an expression (derived from application
      context)
      E.g. 2 days for document type CMR, 3 days for CMR
    <b>Recipient and Text</b>
    Deadline Text and Recipient of deadline has to be mentioned on tab page Display text.
    NOTE:
    The deadline work item is completed when the deadline recipient processes it or the original work item is completed.
    In the task itself trigger to receive mails but only thing you have to maintain <b>Fork</b>.
    <b>Information on monitored workitem</b>
    Workitem Type: Dialog step
    Status: In Process
    Current Agent: xyz
    Thanks and Regards,
    Prabhakar Dharmala

  • Deadline monitoring/Escalation - Purchase Requisition Workflow WS20000077

    Dear Friends,
    I have read some stuff on SDN but still couldnt figure out the soultion.
    Its a common problem. We have set a release strategy in Purchase Requisition and are using std workflow WS20000077.
    Now the requirement is that if an approver doesnt approve in 2 days time then the PR will automatically go to the next approver for release.
    I have set the deadline monitoring using the workflow wizard for model deadline monitoring. With this, The work item gets deleted from the approvers inbox. Next in the obsolete path I have set a process control which specifies the worklow step as the step in which deadline monitoring was specified.
    When I check in SWI1, the work item is set as obsolete but it doesnt go to the next approver for approval.
    Your replies will be highly apprecialted.
    Thanks & Regards,
    Fawaz

    Hi
    For your Requirment :
    "the requirement is that if an approver doesnt approve in 2 days time then the PR will automatically go to the next approver for release."
    Please follow the below steps.in copy of  WS20000077.
    1.For taskTS20000159:Overall release of requisition , go to
    Latest END tab:  put ACtion as :Modeled ,  Refer.date/time:Workitem creation , below time : choses: DAY,  and on left add 2.
    Outcome :Deadline Montoring.
    2.Then come to OUTcomes tab of the same task:  see  there are 3 lines 1.Step executed, 2.Latest end:Deadline Montoring, 3.Processing obsolete:Processing obsolete ,, all are ACTIVE or not , if not, Activate .then  all should be Green.
    4.next in the OUtcome :Deadline Montoring , use a process control step. to Set missed workitem to obsolete,  in Function: chose : set Work item   to Obsolute. and Workflow Step : chose then step no for the above task(TS20000159:Overall release of requisition).
    5.In "Processing obsolete" path, again call the same task TS20000159. in different activity . and see to the agent assignment.
    I think this will slove your problem.
    How it works:
    1st the PR is send in a WI to the perticular agent by the 1st activity . if the agent do not execute for 2 days. then that WI will set to obsolute . and process flow to" Processing obsolete" path, then agian PR is send to the next agent using the same task but activity created in  step 5.
    thanks
    Kakoli.

Maybe you are looking for

  • Help with html of mobile web built in MUSE

    I have created a website in Adobe Muse, and added a mobile version of the website within Muse. I exported to HTML. I am using Yahoo as my server and when I upload the html files, now when I view the website on my phone, nothing shows up or I get the

  • Extra White Space Around Header Graphic & NavBar

    I have a header graphic and Navigation Bar (rollover images) positioned inside a table. Unfortunately, there is about 1-2 pixels of white space on the left, right, and top of the header graphic. Same with the NavBar--there's 1-2 pixels of white space

  • Automatically updating table column in OBIEE

    Hi folks, I have a requirement for say i have to update a table column based on a condition, but this update should happen on daily basis (i mean it should be scheduled once daily) by checking if any records in that column meets the condition then up

  • Rollovers and layers

    I am trying to make a complicated rollover web image that started off as an Illustrator file, exported to Photoshop, and now open in Fireworks. The idea is to create rollover slices where the image states change simply by making various layers visibl

  • Photo Library seems like it won't load

    Do I have too many photos? Apple TV is taking an extra long time loading my Aperture Photo Library (49,000 pix) to be used for Screen Saver duties. How long should this process take? If I back out of selecting which libraray to use, device reverts ba