Skip to Content

How to send same workitem from a inbox to other agent's inbox, if deadline reached

Hi Gurus,

I am new to Workflow , I need a practical scenario to test the below case.

1.A scenario should have 2 levels of approval.

2.If 1st level approver is not taking any action with in a specific span of time, the work item should remove from his inbox and

the same work item should go to some other agent's inbox(kind of escalation).

How can I achieve this , please guide me how to do this briefly .

Thanks & Regards

Ayyappan.V

Add a comment
10|10000 characters needed characters exceeded

Assigned Tags

Related questions

5 Answers

  • author's profile photo Former Member
    Former Member
    Posted on Jun 09, 2013 at 09:02 AM

    HI Ayyappan,

    1. SWDD transaction create new workflow.
    2. If approvers are constatnt,Workflow container create one internal table having two approvers.
    3. If approvers are not constant,Create one method in BO in order to get approvers.Using this method create one activity inside workflow.
    4. Under user decision deadline monitoring select latest end tab,SelectModelled in action top down in that tab.
    5. Another one branch will come other than approve and reject Create one process control step in order to make this user decion to obsolete status.In order to move forward to other approval levels.If you dont wat to continue slect complete work item in Drop down in newly created Process control step .
    6. In this step 5 you should be clear that if escalated at first level,It leads to jump to second level by escalation
    7. Another one case If you want same level need to approve by some other Approver means.Need to forward the workitem from that particular user to some other SAP user.No need of any deadline monitoring in this case.

    Regards,

    Ragav

    Message was edited by: Ragavendran Kanagaraj

    Add a comment
    10|10000 characters needed characters exceeded

  • Posted on Jun 09, 2013 at 11:59 AM

    Hello,

    For each level of approval I would make a decision step enclosed in a loop. The decision step should have a modeled Latest End deadline that sets the decision step to obsolete and then reassigns the agent.

    regards

    Rick

    Add a comment
    10|10000 characters needed characters exceeded

  • author's profile photo Former Member
    Former Member
    Posted on Aug 03, 2013 at 07:26 AM

    Hi Ayyappan,

    Once Deadline is reached, get the workitem id of the workitem which you want to forward to another agent from previous agent inbox and use SAP_WAPI_FORWARD_WORKITEM function module to forward the same workitem to another agent.

    Hope it helps.

    Thanks,

    Arun.

    Add a comment
    10|10000 characters needed characters exceeded

  • author's profile photo Former Member
    Former Member
    Posted on Aug 06, 2013 at 04:54 AM

    Hi,

    The process control step with 'Set workitem as obsolete' in the deadline branch logically deletes the workitem. Next, write logic to redetermine the agent and pass the agent user ID to the same container of the dialog step(workitem). And since, the entire decision step is in loop, handle loop in such a way that, when the 'Processing obsolete' branch is executed, loop will go for next pass for execution.

    Regards,

    Rahul Kulkarni

    Add a comment
    10|10000 characters needed characters exceeded

  • Posted on Aug 06, 2013 at 03:22 PM

    Hi,

    You want modeled deadline monitoring (just google it you will find the sap help and other helpful links).

    It might be a bit too advanced for someone new at workflow such as yourself. So either read a lot on this subject (also search in workflows in your sap system where this might occur) or try to find someone in the organisation who can help you achieve your requirement.

    Kind regards, Rob Dielemans

    Add a comment
    10|10000 characters needed characters exceeded

    • Hi,

      Talking specifically in regards to your requirement. You would have to opt for modeled deadline as Rob suggested already.

      In the task/step there would be an option "Requested End". Give the timeframe for the deadline there and the deadline type should be "modeled" to activate deadline monitoring. After doing this, there will be an additional branch (for the deadline) would get created. In this branch, you need to create additional logic for sending the workitem to another agent.

      Creating a modeled deadline, would remove the obselete (unattended) workitem automatically.

      Thanks!

      Sathish.

Before answering

You should only submit an answer when you are proposing a solution to the poster's problem. If you want the poster to clarify the question or provide more information, please leave a comment instead, requesting additional details. When answering, please include specifics, such as step-by-step instructions, context for the solution, and links to useful resources. Also, please make sure that you answer complies with our Rules of Engagement.
You must be Logged in to submit an answer.

Up to 10 attachments (including images) can be used with a maximum of 1.0 MB each and 10.5 MB total.