Send Workitem back to previous approver?

Hi All,
I have a developed a WF in which i am sending WI to different levels of approvers.
when approver executes the WI,it will open a module pool screen (ztocde) and approver can able to edit the data and save.
The requirement is if second approver executes the WI and edit data on screen,this WI should go to first approver
(previous level)?
Thanks,
Arpita

Hi,
Define a loop which will run only for 5 times.
Define a counter and increase the counter by 1 with each loop run.
Termination criterion for the loop = When the counter becomes 5.
Now you have to define a process which will run only 5 times (equal to no. of agents)
Now the question boils down  " how to configure that process ?"
Its simple. Define 2 variables in the workflow container - l_current_agent & l_previous_agent.
Say you are in loop no = 3, then the l_current agent = current agent & l_previous agent = previous agent.
You can assign the agent to varaibel through container operation.
Now say in loop no 2 the WI goes to A2 and he edits the same. You have to check that whether he has edited the WI or not and based on that you have to set a flag.
Use a condition step.
If the flag is TRUE i.e. A2 has edited the WI then pass that WI to A1
Else simply continue with the loop.
But in both the cases increment the counter.
Please let me know if you have any doubts.
Thanks,
Debi

Similar Messages

  • How to Rewind Notification (Parallel Approval Subprocess) Back to Previous Approver

    Dear Gurus,
    Please help me in Rewinding notification back to previous Approver from the current Approver.
    This is Requisition approval notification and it is a part of Parallel Approval Subprocess Notification.
    Any quick update will be highly appreciated.
    Need this urgent as it needs to be done in production.
    Regards,
    Niladri Biswas.

    If you are using portal and use Webdynpro application you can trigger wflow using Function Module SAP_WAPI_START_Workflow
    You can also configure status managment to trigger custom event for your requirement.
    Thanks
    Arghadip

  • Send an email to previous approver after rejection in OOB Approval workflow

    Hi all,
    I have created OOB Approval workflow with two approvers.
    If first approver rejects then i want it to send an email to the requester. 
    If second approver rejects then i want it to send an email to the first approver as well as requester?
    Is there any way to acheive this? 
    And same should happened when document is approved
    Also how to identify that the first approver has completed their task? 

    Hi Trupti,
    you can do that using SharePoint designer workflows:
    you can do that by putting the actions in the complete condition so you check who approved it and based on that you do the actions of sending email so it will be if conditions and where to put that in here
    http://bobbyspworld.com/2013/02/08/5-step-to-enhance-sharepoint-2010-approval-workflow/
    https://support.office.com/en-gb/article/Use-the-task-process-editor-for-approval-workflows-8680b4a4-36b1-441c-b070-e515976078aa
    <section class="ocpSection" style="color:#363636;font-family:'Segoe UI', 'Segoe UI Web Regular', 'Segoe UI Symbol', 'Helvetica Neue', 'BBAlpha Sans', 'S60 Sans', Arial, sans-serif;font-size:10.3999996185303px;line-height:normal;">
    Completion conditions for the task process
    When you click the completion conditions, you’re taken to a full-page workflow editor where you can add or change the completion conditions that for the task process. Specifically, these actions
    will run every time an individual task is completed. You can customize the logic here using the workflow commands in SharePoint Designer, like conditions, actions, and else-if statements. You can also add task behavior actions, like the Set Content Approval
    Status and End Task Process.
     Top
    of Page
    </section><section class="ocpSection" style="color:#363636;font-family:'Segoe UI', 'Segoe UI Web Regular', 'Segoe UI Symbol', 'Helvetica Neue', 'BBAlpha Sans', 'S60 Sans', Arial, sans-serif;font-size:10.3999996185303px;line-height:normal;">
    Behavior of a single task
    From the summary page, if you change the behavior of a single task, you’re taken to another full-screen workflow editor where you see the individual task events, such as when it’s assigned, pending,
    expires, and so on. Specifically, there are five events:
    Before a task is assigned: These actions run before every individual task is created.
    When a task is pending: These actions run after every individual task has been created.
    When a task expires: These actions run every time an individual task is incomplete after its due date.
    When a task is deleted: These actions run every time an individual task is deleted before it’s completed.
    When a task completes: These actions run every time an individual task is complete.
    You can add any of the available conditions and actions, and you can add several more task behavior actions this time, like append, delegate, escalate, and reassign. You can even add task notification
    emails and wait for changes in a task process item. The available task behavior actions change depending on the event you’ve selected.
    </section>
    Kind Regards,
    John Naguib
    Technical Consultant/Architect
    MCITP, MCPD, MCTS, MCT, TOGAF 9 Foundation
    Please remember to mark your question as answered if this solves your problem

  • How to send workitem to dynamic agents

    Hi all,
    This is my problem, I have to send workitem to dynamic agents (number of agents vary).
    I have the approver details in the workflow container, now i have to send the workitem to the apporvers, since the number of approver varies i am using while loop and i am doing container opreration for each loop. I have the apporvers details in a multiline container based upon this i have to send workitem to the first approver and after his decision i have send workitem to second approver and it goes on.
    Regards
    Balaji E.

    Hi all,
    After struggling for 2 day i found the solution for my problem.
    My Problem:
    I get the approver details from a function module and i call this function module in a method and through a task i pass the multiline container element (which is holding approvers details) to my workflow container. My problem is i dont know how to loop this multiline container element in my loop (while).
    Solution:
    There is a macro to copy one container element to another container element it may a multiline container too.
    SWC_COPY_ELEMENT <SourceContainer> <SourceElement> <TargetContainer> <TargetElement>.
    i used this macro while i run the method at first time and i copy this value to another container (multiline) element at this step itself.
    In my next step i pass only the loop number (i have a workflow container element. and i increment this container element for each loop) to the method and in that method i read the multiline container element based on this loop number and i pass the result value to task-->workflow.
    From here i proceed further.
    Thanks all of you.
    SDN Forum helped me a lot in this issue.
    Regards,
    Balaji E.

  • How forward User Decision attachment to previous approver?

    Hi all,
          I would like to forward the user decision work item - attachment notes to the previous approver. how to forward this?.
    In my workflow i have four approvers. if  2nd approver rejects/approves the work item using user decision and he is typing the text in the attachment by clicking attachment button in the work item user decision display. Now i would like to send this to the previous approver ... how to do tis?
    Regards,
    Roops.

    This attachment will be stored in the AttachObjects container eleent in Task 300052. You need to bind this container element in  AttachObjects  of Workflow container and create send mail step with this attachement being sent to the 1st approver.
    For all this it is better to copy standard Wflow and change accordingly in your custom Workflow.
    Thanks
    Arghadip

  • How can we send workitem after Po approval decision has been taken by appro

    Hi.
    How can we send workitem after Po approved decision has been taken by approver1 to approver2 in the same flow?
    Regards,
    Chow.

    Some kind requests from a user who is of a different opinion:
    Please create one thread for each different question, with a precise thread subject. It will make it easier to search for previously answers to the question someone has, and it will help keep each thread short.
    Please do not introduce new questions on an entirely different topic in an existing thread.
    Please always check if your answer has been answered already before you start a new thread.
    Please do not ask the same question twice just because you did not receive an answer when you asked it first. Post a follow-up to your first thread if you want to make everyone aware that you are still looking for help to solve your problem.
    Please mark questions as answered when you either have reiceived the answer, or solved the problem. It is also nice if you leave a little comment about how the problem was solved.
    I guess that was all for today...

  • APINV return back to the previous approver in the Approval sequence

    Dear All
    Some Invoice's return back to the previous approver in the Approval sequence although the previous approver has approved it. Issue has come abruptly No modifications or changes has been taken place. The Approver sequence has been already completed but the sequence is starting again in the Approval Hierarchy.
    Workflow is getting completed if it is approved by workflow admin.
    Regards
    Arifuddin
    Edited by: user11309801 on Oct 30, 2011 4:59 AM

    The usual suspect is some vacation rule. If that is not the case, you might be hitting an issue with workflow/AME and would need to research on Metalink.

  • Safari will automatically send me back to the previous page

    Every time when I click a link on any website, it will automatically send me back to the page where I just was; or if I'm at the homepage and enter a website, it brings me back to the homepage. It only happens once per page but it is very frustrating having to do everything twice.
    Thanks,
    Tiffany

    HI Tiffany and welcome to Apple Discussions...
    Empty the Safari Cache from the Safari Menu Bar, Safari/Empty Cache
    Relaunch Safari.
    If you still have problems, go here for trouble shooting 3rd party plugins or input managers which might be causing the problem. Safari: Add-ons may cause Safari to unexpectedly quit or have performance issues
    If third party add ons aren't the issue, try troubleshooting the Safari .plist file.
    Go to the Safari Menu Bar, click Safari/Preferences. Make note of all the preferences under each tab. Quit Safari. Now go to ~/Library/Preferences and move this file com.apple.safari.plist to the Desktop.
    Relaunch Safari and see if that makes a difference. If not, move the .plist file back to the Preferences folder. If Safari functions as it should, move that .plist file to the Trash.
    One more thing. Please click My Settings on the right side of this page and tell us which Mac you are using and which Mac OS X. Thanks!
    Carolyn

  • How do I revert back to previous (before 11) itunes. Someone nicked my Album Cover flow, without asking

    how do I revert back to previous (before 11) itunes.
    Someone nicked my Album Cover flow, without asking. I have snow leopard. I was happy. Just before Christmas as if I havent got enough to do Thank You. I've given Apple loads of money this year--presents and all, the least they could do is tell me, they're going to take stuff off of My computer that I enjoy,/ find very useful/ and worked hard to update all my album covers and have a gallery of my own artwork for my mixes--it was beautiful. When I went to add some more, the facility had been taken away from me. Was so dissapointed. They send me emails all the time to buy the latest must have products. I even did a questionair to help them. They really care for their customers--right. So why couldnt they warn me about this update, its only polite.
    If I bought a warm coat some years ago, then the manufatures came round without my knowledge and cut off the left arm, and later told me, their reserch says that people dont use the left arm so much so they have to get rid of it. 1. I think that would be illegal. 2. its impolite not to ask if they could do it. 3. why not give me an options to keep it, seeing as i bought it. 4. its ludicrous.
    I trusted Apple-but then -they took my YouTube off my ipad. I cant update to newer software as I will lose some expensive programms (Im not made of money). I also have 2 oldish defunct but fully working laser printers (if they were compatible with new software).
    Im not a techky-I just use the stuff, I do art and music and Cover Flow was equipement I used.
    I want to get rid of itunes 11, anyhelp out there

    click the blue download button...
    http://support.apple.com/kb/DL1576

  • When i click a link on (facebook, google, yahoo, etc) it sends me back to my home page. It has done this at least 5 times only starting yesterday the 29th, one of numerous issues arrisen since the newest 4.0 security update.

    This issues persists mainly on my two most frequently visited sites, Facebook, and deviant art. When I click any random link on any random page, the link would send me back to my home page, as if i had clicked the back button when i hadnt. I cant specify what links specifically, but it has done it twice on my facebook home page, once on a google search and several times on Deviant Art. On Deviant Art, I was several pages into the site when i clicked on a users gallery and it sent me right back to google, the back button wasnt active, but the forward button was, when i clicked the FORWARD button it went right back to my last page, just as if i has hit BACK. This problem has only been apparent for the last 2 days since the 29th, and only after i installed the last security update provided by the firefox team. seems like a bad coding error that mixes up and redirects addresses, that would be my guess.

    adkennon wrote:
    And maybe you don't talk to too many people but I've been on many forums on different websites where people have had similar problems and a lot of people in the store were having battery problems where they were draining too fast. What I learned is that all the people who did not download the updates are good. There phone is working the same. The people who have, they're having battery problems
    I have downloaded every update and my battery life is better than any previous iPhone I have ever owned. I see posts from hundreds of people every day, and this is not a commonly reported problem. While there are a few random reports of battery problems, it is no more than I have seen for any other model or any other version of iOS in almost 8 years. Usually problems of rapid battery drain can be traced to bad apps (FaceBook is the worst offender) or corrupt data being synced from iCloud or other sources (gmail, Windows Live, Yahoo, etc).
    The simple test is to restore the phone as New. Do not create any email accounts. Do not install any apps. Do not enable FaceTime or iMessage. Do not enable Twitter or any other social networking app. Use it for a day and check the battery usage. You will find that it is working well.
    And also see this: http://www.overthought.org/blog/2014/the-ultimate-guide-to-solving-ios-battery-d rain. It is the best treatise I have seen on the subject of battery usage.

  • How to go back to previous step in a sub workflow?

    We are calling a sub workflow upon approval action from a main workflow. In the child workflow we have 9 steps. If at any step in the child workflow (other than first) user does reject action, the workflow control should go back to previous step in the child workflow itself.
    We added a custom action in the exit events of all the child workflow steps. Following is the logic of exit event of Step4 of child workflow. Similar logic is there for all steps in the child workflow.
    <$if wfAction and wfAction like "REJECT"$>     
         <$wfSet("wfJumpTargetStep", "Step3@childWF")$>
         <$wfSet("wfJumpEntryNotifyOff", "0")$>
    <$endif$>
    With this code when the user is doing reject action from child workflow, it is taking us back to the main workflow and not to the previous step of child workflow.
    Is this approach correct?
    -Pratap

    1. The 3 events are Entry, Update, and Exit.
    2. Rejects happen in the Update area but you can not reliably react to it there because upon reject it immediately leaves (not going through the exit event).
    3. The rejected content goes backwards in the Workflow step by step (even going back to the main workflow from a sub workflow) until it finds a Step that has valid Editors (not just reviewers).
    4. If it does not find an Editor step it goes all the way back to the automatic Contribution step at the beginning of the Workflow and sits there in a kind of no mans land until the contributor (or an admin) goes and approves it again.
    5. To check if something has been rejected the Entry Event of an editor Step BEFORE the step where it is rejected needs to have code to check for the Reject status.
    The sub workflow should be able to capture the Reject as you desire. Are all of the steps in the child workflow (sub workflow) Review only steps? Or maybe the people in the steps do not have RW access to the document? This is what I would predict with your described symptoms.

  • The new forced upon me upgrade for iPhoto '11 never opens. After I do all that is recommended, it sends me back to the beginning. How can I get it to work?

    I am using a mac mini version 10.9.5 which I have just updated. Now when I try to open i photo, all I get is a message telling me to "prepare" my library. I have installed and run the iPhoto library upgrader, but it only sends me back to the beginning telling me to install the upgrader (which has already been installed.)
    How can I actually get the upgrader to prepare my libraries and actually see photos?

    What version of iPhoto are you currently running and what version did you have previous to the upgrade to 9.5.1?
    Apply the two fixes below in order as needed:
    Fix #1
    1 - launch iPhoto with the Command+Option keys held down and rebuild the library.
    2 - run Option #4 to rebuild the database.
    Fix #2
    Using iPhoto Library Manager  to Rebuild Your iPhoto Library
    1 - download iPhoto Library Manager and launch.
    2 - click on the Add Library button and select the library you want to add in the selection window..
    3 - Now that the library is listed in the left hand pane of iPLM, click on your library and go to the Library ➙ Rebuild Library menu option.
    4 - In the next  window name the new library and select the location you want it to be placed.
    5 - Click on the Create button.
    Note: This creates a new library based on the LIbraryData.xml file in the library and will recover Events, Albums, keywords, titles and comments but not books, calendars or slideshows. The original library will be left untouched for further attempts at fixing the problem or in case the rebuilt library is not satisfactory.

  • Send to back or front in Acrobat Pro10.x

    Hi folks,  I read a thread for older versions of Acrobat Pro that did not work.    I was editing some text and moving some objects on a document and then I added a new text object to the page. After I did that, I could not select any of the text or objects underneath the new box that covered the area.  What was odd was that the area box, if deleted, deleted the entire area where I had previously been editing.  I tried to find a "send to back" layering feature, but could not find one anywhere.  Is it not possible to send to back or bring to front?  And why did adding a new text object to the page make the rest of the page inaccessible? 
    Thanks
    Jeff

    It's not directly possible to change the stacking order with a tool or contexct menu in Acrobat X (that feature was added with the new Edit Text and Images tool in Acrobat XI).
    If you open the Content tree (right-click the left sidebar and choose Content) then you can drag/drop the items to affect their rendering order, but it can easily corrupt the rest of the content on the page.

  • Error in sending workitem to outlook if Email id is not maintained in SU01

    HI Guys,
                     Right now i am working with PCR workflows. Here the approval will go both to the SAP inbox and the Outlook Inbox. For sending workitem to outlook i had scheduled a background job RSWUWFML2.
              My problem is if the Email id is not maintained for the approving manager in SU01 Tcode, only userid is maintained, the workitem is being sent to SAP inbox and the workflow is getting errored because there is no Email Id for him.
                         How to resolve this issue i.e.workflow should also work fine if Email id is not configured.
    Regards
    Kumar

    Sorry I read it otherwise....For the email to go to Outlook 2 approaches.
    1) Maintain email in IT0105 for the manager
    or
    2) Maintain the email id in the userid of the manager.
    Otherwise how the workflow know which email id the email has to go.
    hope this helps
    Regards,
    Swati

  • HT202358 iphoto keeps sending me back to update after ive updated?

    updated to yosemite i photo updated but keep sending me back to update page, round and around we go.....

    updated to yosemite i photo updated but keep sending me back to update page, round and around we go.....
    So you updated iPhoto to iPhoto 9.6? That is the only version that is fully compatible with Yosemite.
    And are you running iPhoto 9.6 from the Applications folder? The Dock icon might still be linked to an older version, or you might be running the previous version from a backup drive.  That would explain prompts to backup.  Launch your new iPhoto version by clicking the icon in the Applications folder.
    Your question links to this document:  iPhoto '11 or later: About the Library Upgrader
    Are you seeing a prompt to upgrade the iPhoto Library?  You need to run the Library Upgrader  for iPhoto Libraries created by iPhoto 7.1.2 or earlier.    iPhoto 9.6 cannot upgrade these libraries directly to the new format. They need to be prepared.  If you upgraded from a very old iPhoto version, download the upgrader as described in the link, install it, and then run it on your iPhoto library. It will be installed in applications > Utilities.

Maybe you are looking for