User Decision - Outcome link to on a Previous Activity

Hi all, I'd like to ask to all WF expert about a doubt, is possible to link the outcome of a Activity of USER DECISION to a Previous Activity? In afirmative case, which will be the way?
Thank you and regards
Angel

Yes,
Use the container operation step in the particular branch of user decision step. Set value of some container say ABCD = 'X'
Then loop the user decision step. Check if the value in the container is X.
If true loop or else endloop.
Let me know if I have understood your requirement properly.
Let me know if you have any queries.
Regards,
Raj

Similar Messages

  • Dynamic user decision outcomes

    Dear Experts,
    We need to offer a different choice of user decisions according to the actual agent who is processing the decision step. (SAP release ECC 6.0)
    i.e., if the agent is a manager, they get  4 options - "approve/reject/view/leave in inbox" - if the agent is an administrator they get 3 options - "forward to manager/view/leave in inbox".
    The workflow would be much simpler if this can be achieved using a single user decision.
    Is it possible to activate/deactivate the user decision outcomes dynamically like this? (perhaps by defining a method to run before work item execution in the Methods tab of the user decision?)
    Many thanks,     Ben

    Hi,,
    >The workflow would be much simpler if this can be achieved using a single user decision
    anything can possible in workflow , if u want single creation UD then
    create like this
    If you are Manager
    Approve
    Reject
    ---View
    ---Leave in inbox
    If you are Administator
    ---Forward to manager
    ---View
    ---Leave to Inbox
    ok now you got it, or else
    create two UDs if you feel free to create it like this,
    check the user manager/admin
    and then put the condition if manager then send seperate UD
    if Admin then send seperate UD.
    Thanks and Regards,
    Prabhakar Dharmala

  • User Decision Step Link

    Dear Experts,
                        I have created a custom application, in which I have to trigger the workflow. I have created a workflow and this workflow is being called through application using FM: WAPI_START_WORKFLOW. In this workflow there is a user decision step. I want to create a link of application's "change screen" in the user decision step. As I don't have BO object in this workflow; So how should I create the link of change screen?
    Regards,
    Sohail 

    Hi Sohail
    Starting a workflow using SAP_WAPI_START_WORKFLOW is not a preferred option ; instead use events to trigger the workflow by using SAP_WAPI_CREATE_EVENT - It gives better tracking capability as well as options for queuing.
    Coming to your question, Business Object is required, you can not only create a method to display the change screen, but also provide attachments etc....a lot more is possible if you have business object instantiated.
    Regards,
    modak

  • Workflow user-decision mail with Approve & Reject button to Outlook.

    Hi All,
    Requirement: To send a mail with Approve & Reject buttons to outlook inbox.
    Approach: I have used the user-decision step in the workflow and the approve, reject buttons are displayed . As far as solution in SAP inbox is concerned, it is solved.
    However the requirement is to show the mail with the buttons in the outlook mail.
    Resolution Required For: to show the mail with the buttons in the outlook mail. I am new to workflows sending mail to outlook inbox. Is there any way to do this using ABAP developments.
    Thanks for your time.
    Best Regards,
    Goutham.

    Hi,
    If you are on ECC 5.0 or above, you can use the Extended Notif. for achieving this.
    How are you getting the Outlook mail ?. If you already have Extn.Notif, then do the following :
    1. In Transaction SWNCONFIG,for your Scenario and Category,
    in the Subscription Basis Data -->Subscription Settings,
    Set the parameter SHOW_ACTION_DECISION_AS as "LINK"
    This will give you the options of your user decision as LInks in Outlook mail.
    There is lot of material in this forum for Extended Notif. if you search.
    Hope this helps.
    venu

  • Adobe form as attachment to user decision step

    Hi,
    i need to add adobe form as attachement to user decision step in workflow.
    1. i created activity step which call business object method with parameters workitem id
         i am using FM  SAP_WAPI_ATTACHMENT_ADD’  which will return attribute id
         i am passing that attribute with document id to 'ZSOFM'
            ZSOFM <-----------------------------------ZSOFM (Method to task)
          Bindings 'Attach_objects'  <------------- ZSOFM(Task to Workflow).
    2. i created user decision step
        Bindings  'Attach_objects' --------------------> 'Attach_Objects'( Workflow to user decision task).
    but when we execute first activity step in background i am not getting any PDF output .but when we  execute same method from class i can see pdf data is coming is it due to user name WF-Batch.
    when i execute activity step in back ground which will have sy-uname as WF-Batch i am not getting any PDF output data.
    please help how to solve .
    Thanks,
    Phani

    In transaction SWO1 create a z-object lets say zmyobjpdf (you might want to use it as a sub object of your standard object without delegation since they will probably have the same key).
    create a method in that object calling the adobe form.
    set it as the default method in the object header.
    now create an instance of the zmyobjpdf in the workflow for example as an attribute of the original object) and transfer it to the decision task.
    It will be displayed as an attached object pressing it will call the default method - your adobe form.
    If your question was about how to create a function module to display the form see SAP Library - PDF-Based Forms

  • Attaching HTTP Links for User Decisions?

    hi all,
    how can we attach HTTP Links along with User Decisions. i have previously attached Business Objects as links along with approve/reject button but this time I need to attach a HTTP link.
    Points will be awarded.

    hi ravi,
    the basic requirement for me is that the frontend is going to be Webdynpro Pages controlled with a workflow in the backend. say if a personnel submits a form, it has go to the person's manager for approval.
    So while approving it, if incase he wants to see the approval information, he would click on the URL which comes with the User Decision. this is the precise requirement.
    Regarding Javascript code, where can we write the java code for URL's. is there any standard template which follows the same requirement.

  • Link event on user decision

    Hi fellow workflowers ( ),
    I was just wondering if it is possible to link an event on a user decision ?
    Our system is an ERP 5.0 system.
    thanks in advance !

    Hi Björn,
    Not sure if I understood your question, but if you want to raise an even when a user makes a decision.... simple: On the outcome branch insert a "Create Event" step.
    If you want to use a terminating event, this doesn't work with decisions. Use a fork and a wait step in parallel instead.
    Hope that helps,
    Mike

  • Link in User Decision step not showing correctly in UWL

    Hi SAP Experts,
    I have a requirement to add a link in a user decision step, this link triggers a custom webdynpro for additional input. When I access the workitem from Business Workplace, the link is showing fine. But when I execute the workitem in UWL, the link is not displayed, instead the code is shown (<a>...</a>). Please advise on what I should do to have the link working. Thanks in advance.

    Hi,
    This same thing was just recently discussed. I just cannot find the thread anymore (well, in that thread there was not really any solution). Basically the hyperlinks in work item do not seem to work in UWL as they should. I don't know if there are any way to make them work. My suggestion is to not use the hyperlink at all and replace that with an action (=button) to the task in the UWL. This can be achieve quite easily by simple XML configuration in portal. If you have worked with UWL this should be quite straightforward for you, or if there is a consultant at the site, who is familiar with UWL, this should be simple for him/her.
    Regards,
    Karri

  • Url link in User Decision workflow step

    Hi Experts,
    I had created a workflow for "Employee transfer" process using SWDD tcode.
    I had a created a workflow step with type as "User Decision".I had included "Approve" & "Reject" decision options.
    Now i want to include URL link along with "Approve" & "Reject" in the user decision workflow step (i.e) The manager needs to see the URL link along with "Approve" & "Reject" in his SAP workflow inbox.
    Can anyone guide me...
    Regards,
    Krishna Balaji T

    Hi Krishna,
    I understand your issue. I have faced a similar issue in my project.
    Here is the solution!
    To add link of a URL you need to have the binding with the BO of the transaction your are refering to. To do this, you need to bind your BO event (triggering event) to the workflow container and then the workflow container to task container. This BO value should flow from event-> workflow -> task container to get the link in the User Decision.
    To do the binding you need to follow the following steps:
    1. Go to t-code SWDD and open your workflow template.
    2. Go to Basic Data (cap sign button at the top of the screen) or click Ctrl + F8
    3. Go to Start Events tab.
    4. In the Object type enter your BO name (BO for the transaction you need to add as link), in Event of object enter the BO event. This would serve as the triggering event for your workflow.
    5. Click on 'B' i.e. Binding Defined, click on generate automatic binding. It would automatically generate the appropriate binding for the workflow. You can also alter the binding as per requirement. This binding would ensure that the URL comes under 'objects and attachments' section.
    6. Click on 'C' i.e. Start Condition. A dialog would open, select the appropriate start condition for the workflow. Check the condition before saving (recommended).
    6. Click on 'A' to Activate the binding and start condition. All 'A', 'B' and 'C' would get green.
    7. Save the changes made and activate your workflow.
    8. Do the binding between the workflow and the user decision step. Select automatic binding (recommended).
    You can also refer to the similar thread that I had provided solution to. This would help you resolve the issue!
    Re: URL of site has to be attached along with the mail
    Hope this helps!
    Regards,
    Saumya

  • "You can also" link in UWL work item when using user decision step in workflow

    Hi,
    Just want to check if anybody has tried adding links to this section in the UWL when using user decision step? I need to pass some custom links which will be calling some webdynpro applications and backend transactions. I have read somewhere that Ineed to modify the XML file but don' t know how the next steps once I have defined (i.e. how to handle those links).
    Thanks in advance.
    Rammel

    Hi Rammel
    I hope you are keeping well and many thanks for using the SAP Discussion Forums .
    Based upon your scenario you mentioned that:
    You want to add links to the "You Can Also" section in the UWL with user decision steps
    In an effort to pass custom links (calling web dynpro) applications.
    You wish to know how to modify the XML
    Ok now based upon the scenario there are two key points regarding XML files and efforts to change them.
    Remember that XML in terms of the UWL follow the notion of precedence. Now that means that once you make a change to an XML file you need to re-upload it to realize changes. To re-upload an XML file and realized changes you need to do so with a "High" or "Very High" priority and also ensure that the UWL Cache has been cleared of the UWL Service restarted so changes can be realized.
    The second key point is to ensure that you backup all current XML files before making any changes so you can easily revert those changes if required.
    Now reverting back to your query, the XML files and the "You Can Also" section. Kindly see the documentation outlined below as here you are going to make changes to the I-View configuration:
    Configuring the UWL
    http://www.sdn.sap.com/irj/scn/go/portal/prtroot/docs/library/uuid/a3461636-0301-0010-3787-978f5ac8bd45?overridelayout=t…
    UWL Content Configuration
    UWL Content Configuration - Configuring the Universal Worklist - SAP Library
    Kindly update me as per your findings.
    Kind Regards & All The Best
    Troy - Enterprise Portal Support Engineer

  • 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

  • Objects and Attachments in User Decision Step not possible

    Hi all,
    I have designed a workflow where during the 1st step(Archivelink image display) I am able to display archived image, and in the inbox for the first workitem I can see the Objects and Attachments link related to the image.
    But my second workflow step(is userdecision dialog), I would like to see the same archived image link as the in the previous workitem under Objects and Attachments.(I dont want to create a new attachement)
    Can somebody tell me how can I accomplish this task.
    Thnks
    Yogi

    Hello,
    what you need todo is to use a container binding from the single step task from the 1st step where you bind the image object to the workflow container.
    Then in the user decision task you create a container element which refers to the image object. Then use a binding to 'send' the object from the workflow container to the task container.
    Kind regards,
    Peter

  • User Decision in Workflow

    Hi All,
    When I use the User Decision Step in Workflow, then If I mention two Outcome Text, then at runtime it shows three by adding Cancel and keep.
    Now, if I click on Cancel and Keep it in Inbox, then the execution go furthur.
    How to cancel the execution of Workflow there only and not to move furthur...
    Plz give reply...
    Rahul

    hi
    check the link below, it will help you
    http://****************/Tutorials/Workflow/CustomText/CustomText.htm
    <b>reward points for useful ans</b>
    Regards
    Aarti

  • Agents in the User Decision

    Hi Experts,
    We are implementing the Leave Request WF using WS12300111.
    We have a user decision step. This is for the HR admin to take a decision if a manual posting has been successful or not.
    There is already a rule 60100010 which has the responsibilities defined in it which define the possible agents who can execute this work item.
    Can i use this rule directly in the User Decision step? Is there any specific binding required for the same.
    If the user clicks on NO, then a pop up shud appear where the user enters his comments.This is a dialog step. In this case, can we use the same rule as the agent or is there any necessity to provide an agent.
    Kindlu let me know regarding the same.
    Cheers,
    Belinda Clarke

    Hi,
    You need to create the "LATESTAGENT" container element. But first take a look to the previous step. You can basically bind from task to the workflow the user who executed the step. If I remember correctly this element was "Agent". So, just bind it from the previous step into your new container element in WF container. Then use that as an expression the next step's agent.
    You can also use the rule as I explained in my previous answer. The above method is a bit better since than it forces the work item to the user who completed the previous work item. But if you are using the advance with dialog option, the rule will work as well.
    Regards,
    Karri

  • Looping a single branch in User Decision Step

    Hi All,
    Can anyone tell me is looping possible for a single branch in user decision step in a workflow?
    If yes, How?
    I want like to loop the step cancel and keep workitem inbox.
    Whenever the user clicks cancel and keep workitem in inbox in a user decision and again executes the WI i would like the workflow to start execution from the step just above the user decision step, i.e; Display PR.
    This is my requirement. Tell me how can i implement it?
    Thanks,
    Raj

    Hi,
    instead of doing so, you could try to enter that method as "secondary method" or "before method" within the tab-strip "Methods".
    If you used your own coding for a decision, you could enable the exception 8015 of the method's result, which is the cancel-button. If you did so, you can enable that outcome in the workflow-activity's definition.
    Best wishes,
    Florin

Maybe you are looking for

  • Income tax deduction

    Hi, We are facing the following issue: When employee is locked say in the month of November and then in the month of december when the locked is release and the payroll is processed normally, the net tax payable by the employee is deducted fully and

  • How to insert a NULL value in SQL using JDBC Adapter

    Hi All, I have a File -> JDBC scenario. In the File and in the SQL table  I have a column called "MR_DATE" that needs to be mapped I have to do the following: If MR_DATE is NOT equal to "00000000"          then pass MR_DATE to SQL table else         

  • How do i save my ipod contents if it is a mac format to a windows computer

    how do i save my ipod contents if it is a mac format to a windows computer

  • Oracle Files Install

    Is there a down-load site where I could get just the Oracle Files component without downloading the entire Collaboration Suite? If so, please provide the URL. I wish to use Oracle Files for content management. We have the ContentMangagement SDK alrea

  • Advanced tutorial 3.0 : Error 403 when executing own PL/SQL procedure

    Hello, Advanced tutorial 3.0 Chap 9 : Upload and download Files in an application. As written, I have created the procedure "download_my_file" to download a file content from a custom table.... Granted the execute on download_my_file to public ==> OK