Catching a forwarded work item in workflow.

We have a workflow with an escalation loop.  An e-mail is sent every 5 days until a work item is finally completed.  However if that work item is forwarded, the original owner is still notified.
Is it possible to catch that a work item was forwarded and trigger a modification of the container so the forwarded approvers are notified?

Hi
Assuming that email is sent from the Escalation Outcome of the Decision Item, here is what you need to do to get the work item of the Escalated Item.
Create a container element f=to hold that Workitem.
From the decision step to the workflow binding pass the workitem (you will have a workitem object in the step / task container, expand that and get the ID) -> Pass  to that local variable of the workflow
In the escalation branch, create an activity step, pass this workitem to a method
In the method, call SAP_WAPI_GET_WI_AGENTS, pass them back to workflow (APPEND to the existing notification agent list).
regards,
Modak

Similar Messages

  • Forwarding work item

    Hi Forum,
    When we forward a workitem from Inbox of an approver..
    1)Which BADI is trigered?
    I tried puting a break point in workflow BADI but it is not trigered when i pushed the Send button.
    2)Are any mails trigered?
    Regards,
    Anubhav

    HI,
       To the best of my knowledge , there is no Specific BADI for forwarding Work Item.
    But inorder to allow forwarding the Work item, Purchasing Org structure (PPOSA_BBP) , Flag:FORWARD Work Item attribute need to be set.
    Regards,
    Kalandi

  • How to handle the situation to forward work item manually?

    Hi All,
    In my workflow -
    For agent determination I have some custom logic to determine agents. If custom logic donu2019t return any agents then the requirement is work item needs to send back to workflow initiator.
    My issue-
    When no agent determines
    1.Work item needs to send back to workflow initiator - and he should not able to Approve or Reject work item - He Can only forward work item to any other person manually (he determines to whom it should forward).
    2. After manually forwarding the work item it is normal process 2 level of approval from that point .
    Please let me know for the first item how to handle the situation?
    I have developed 2 section - one goes with regular agent determination -
    and the other one when no agent determines then I am assigning back to workflow initiator. Now I want to handle that - initiator should not accept or reject and he can only forward to someone. How to develop this?
    Please let me know your thoughts.
    Thanks in advance.
    Rajesh,

    Hi All,
    Thanks for the answers.. sorry for late replay.. requirement was not confirmed.
    1. As I described in my question
    After my custom conditions.. I have to send workitem back to initator ( Now initiator forwards the work item to someone else  ( need to restrict  users  based on role - )..
    While doing this process initiator should not have access to approve or reject he should only forward the workitem.
    After forwarding the work item -this person should have approve or reject options.
    My question is not answered..
    1. As Vijay told..
    Dont give Approve and Reject Options and in Description u specify like
    If I dont provide approve/reject when I am sending the work item to initiator - After initiator forwarding this work item - how do we the other approver will get options  Approve and Reject?
    2.  AS -surjith kumar
    If your Using the Rule or Expression you have to restrict via coding -  This will solve one of my problem -
    How I can restict  users with role based?
    My problem is not solved.. Initiator should not have access to approve but He should only forward the work item...
    Please let me know...

  • How to get all recipients of a particular work item in workflow?

    Hi Abapers,
    I want to get all recipients of a particular work item in workflow?
    is any FM avilable for this purpose?
    Regards,
    Vinay.

    Hi,
    Please check FM     SAP_WAPI_WORKITEM_RECIPIENTS
    -Abhijit

  • User who is informed when a work item or workflow has been fully processed

    Hallo,
    message recipient for completion:
    User who is informed when a work item or workflow has been fully processed and its status is set to completed.
    Where I can change the word "Notif. of Completion:" for e-mail (in german "Endebenachrichtigung")?
    I don't want to change the text.
    I want change only a word.
    If the e-mail is created, the word is automatically written completion text  "Notif. of Completion:" ("Endebenachrichtigung:").
    Thank you for your help.
    Best regards.
    Edelgard Kubsch
    Edited by: Edelgard Kubsch on Dec 17, 2010 11:10 AM

    I had major issues with the iPhone 4s battery, however it’s resolved.
    The tech who set the phone up at the Apple store did so with little training.
    if you have a mobile me account. First go and move all your data to the cloud by going on your computer and logging in at me.com/move. The cloud has replaced mobile me, so there is no need for those two accounts
    Also make sure that for any of your email accounts you set them up to fetch, not push. My tech person set them all to have the email servers push data to the phone. The new iphone4s antenna is extremely strong so it will continually try to access stuff that is pushed–***** a lot of battery life doing this. It makes it worse if you have exchange 2010 accounts. Something about changes made to exchange really suck battery life from devices that access such accounts.
    turning of locator and the push notifications from facebook--they have a lot!

  • SWIA -- Forwarding option is grayed out... can not forward Work Item

    Hi,
    When I use SWIA to forward one Work Item to another user, that option is grayed out there.
    While another use with same access is getting this option for the same work item.
    Any user specific setting preventing this?
    DA

    Usually when you try to forward an already forwarded item then the option is greyed out. Which is why one user can forward it and another cannot.

  • Forward work item that has been completed

    Can I know if there is anyway that I can forward the work item to someone even though the transaction has already completed?
    Also I would like to know if I can forward the work item to someone when it's not in a dialog step?

    Hello Shreya,
                You can forward the workitem from the transaction code SWIA.
                 You can also forward the non-dialog work item too from the same transaction code.
    Regards,
    S.Suresh
    Edited by: Suresh Subramanian on Jun 17, 2010 10:33 AM

  • Calling Web Dynpro ABAP application as work item through workflow.

    Hi experts,
    I want to call a Web Dynpro ABAP applicaiton through Workflow as UWL work item..
    Can anyone please provide me inputs about how can i achieve this?

    Hi Abhishek
    How will tha Task recognize which Web dynpro applicaiton needs to be processed.
    see in the workflow take the task number which you want to do for approval. That task number you register in t-code SWFVISU. so when the workflow trigger the goes to the approver the task is directly linked to the web dynpro screen which you have registered in SWFVISU. So when the task is click the corresponding web dynpro screen tagged to the task will get opened.
    I dont no weather task is available or not. It purly depends on the module and the workflow.
    I think i have answered you question correctly.
    Regards
    vijay

  • Auto Forward Work items

    Hi,
    I would like to know do we have this in standard functionality
    Leave Request.
    When manager is going on vacation ,the manager will assign the user id in UWL inbox to whom  all or leave request work items should be forwarded for time interval eg 10 days /end date.
    Can anyone faced this same kind of requirement.
    IF this is possible in standard ,how authorization should be handled when it is automatically forwarded to another user.
    Thanks,
    Nachy

    Hi Nachy,
    For this you have to actiivate the sustitution for that particular user.
    Say user A --> substitute (User B).
    Once the substitution is activated, you can verify the same in HRUS_D2 table.
    Thnaks and egards,
    Swaminathan

  • Forwarding Work item in GP

    Hi All
    Is there any way to forward the work item in GP using GP administration.?
    I want to assign one action from one user to another user. Is it possible in GP administration?
    Please give some input
    regards
    Sajith P

    Hi
    This has been solved my self.
    Thanks
    Sajith

  • How to Edit work item in Workflow

    Hi all,
    I have a requirement like this .....
    I have to process the Error Idoc  to the respective Sap Business workplace based on the Position assgigned.
    Now my question is...I am able to send the IDOC to the Business workplace as work item. But the USER wants to Edit the Idoc and process it further...Please guide me how to approch it.
    Thanks in advance
    Chakri

    Hi,
    I am after processing the Idoc to Work item...
    Double click on the work item which in turn takes to the "Display Record"...in the screen itself..Menu bar
    we have EDIT --> Foreground Processing   ---> Visible
                                 Foreground from Error    ---> Visible
                                 Background Processing  ---> Visible
                                 Set delete Indicator          ---> Visible
                                 End process                                    ---> Disable
                                 Continue Despite syntax error        ---> Disable(Want this to show in Visible )   
    Please help me on this case.
    Thanks in advance
    Chakri

  • Forward Work Item And Restart Workflow

    My problem is that:
    Requester: John
    Manager: Peter
    John shops a SC. when the workitem comes in Peter´s Inbox, he decided to Forward this Shopping Cart to Jonh again.
    In this moment Peter can change the shopping cart and he has the button "Save".
    When he saves, the SC is automatically approved!!!!! I would like that when the shopping cart back to John the workflow must restart... It is possible?
    Thanks!

    System checks workflow start condition. You can search information in the <a href="http://help.sap.com">http://help.sap.com</a> .
    <a href="http://help.sap.com/saphelp_srm50/helpdata/en/37/830b3b7e7ef74de10000000a114084/frameset.htm">http://help.sap.com/saphelp_srm50/helpdata/en/37/830b3b7e7ef74de10000000a114084/frameset.htm</a>
    Regards,
    Masa

  • Forward Work Item

    How I can restrict the users that the shopping cart can be forward to?
    Thanks !

    My problem is that:
    Requester: John
    Manager: Peter
    John shops a SC. when the workitem comes in Peter´s Inbox, he decided to Forward this Shopping Cart to Jonh again.
    In this moment Peter can change the shopping cart and he has the button "Save".
    When he saves, the SC is automatically approved!!!!! I would like that when the shopping cart back to John the workflow must restart... It is possible?
    Thanks!

  • Work Item forwarding problem

    Hi All,
    Right now we have a interesting workflow problem. we applied support pack in the month of September after that forwarded work items are getting disppered from the users inbox
    If user A forwarded the work item to User B he is getting it, But it is getting disappered after midnight, It is happening to all the forwarded work items. It didn't happen before the support pack
    If anyone come across the problem please tell me what to do?
    Thanks in advance,
    Rishik.

    Hi all,
    I have same problem. I think there is Job in the background which doing such a refresh and the forwarded work items can't be seen in the inbox. even when I  try to refresh the organizational environment or call swu_obuf the work items are still disappeared.
    have you already found a successful solution for this problem?
    many thx!

  • Forwarding 'Wait Step'work items using SWIA

    Hi,
    I need to forward work items of one user A to another user B urgently, using SWIA.
    The work items are in executed state. This is after a fork step in the workflow, where the executed work item is one branch of the fork.
    As these items are executed, we will have to forward the work items that are in ready state.
    The work item for the other branch of the fork is in ready state. However this is a wait step, and hence I am not able to forward this item.
    Kindly advise as to how should I forward these items.
    Best Regards,
    Smruthi.

    Hi Smruthi,
    Dont confuse with the wait for events and dialog work item. There is no direct link between the wait for events and the work item.
    Only dialog work items needs the user action and dialog work item's only can be forwarded to other user's.
    For this, the work item should have the status of 'Ready'. If the work item has the status 'In process' that means, the user opened the work item and still he didnt take ant action on it.
    In this case, using SWIA you can manually change the status as 'Ready' and then you can forward the work item to the other user's.
    To forward the work item use the function module 'SAP_WAPI_FORWARD_WORKITEM' or use the SWIA transaction.
    Thanks,
    Viji.

Maybe you are looking for