Setting Priority Dynamically in Decision Step

Hi Experts,
My requirement is to set priority of the user decision based on a container element value.
Depending on the container element values, some times the workitem should be created with priority 5 (medium) and some times it should get created with priority 4 (High).
Please let me know how can we pass priority dynamically to the user decision step.
Thanks in Advance,
Siva Sankar.

I think you can use FM
SWW_WI_PRIORITY_CHANGE
Thanks
Arghadip

Similar Messages

  • Set Decision Step outcomes Runtime .

    Hi Friends ,
    I have one decision Step in my Workflow,  i want to set the outcomes of the decision in runtime . it may be two or more than two outcomes , how to do it in runtime,  Is there any Function module available .
    Pls give suggestion .
    Thanks and Regards
    Gokula Krishnan R.

    Hi ,
    My problem is not executing the Decision Step in workflow . you mentioned
    0001 for Approve,
    0002 for Reject,
    0003 for Review,
    This is the outcomes, how to create this in runtime.
    I am Looking for function module or Logic to Create this outcomes through Progam..
    because i have number of outcomes in table , i have to get those outcomes and i want to set it in Existing Decision step in workflow .

  • Refresh dynamic text of decision step in UWL

    Hi Experts,
    I have a custom decision task with a dynamic title that is send to the approvers (could be multiple) for processing from UWL.
    The text ís :  "User &1 raised a leave request for the date &2. Approval needed."
    Where &1 is the user initiating the workflow and &2 is the date for which the leave request is raised.
    The decision step is shown correctly for all the approvers in the UWL.
    Problem:
    The user has an option to change the date on which he wants to apply the leave, before the decision step is acted upon by any of the approvers.
    in such scenarios, though the workflow containers are updating correctly, the dynamic text shown in the UWL still shows the old date.
    Can you please let me know if there is any way of 'refreshing' the text of the decision step that is already displayed in UWL so that it always shows the correct date.
    Thanks,
    Cay.

    Hi,
    There are two thing you need to do.
    First, you need to configure the SWFVISU.
    Run Tcode SWFVISU.
    here, select "Task Visualization' and maintain your standard task ( TS ) with ABAP web dynpro option.
    Now selct your entry and click on Visualization Parameters as mentopn below.
    APPLICATION ( WD application name )
    DYNPARAM
    NAMESPACE
    SYSTEM_ALIAS
    Second, ask Portal team to chagne the XML code for the above standard task and application ( i.e. WD appilcation which will be launced on clicking the task ).
    From the next run of the workflow, WD applcitoon will be lauched from the protal.
    for the old workitem this will not work.
    Note : If u do not configure SWFVISU then WD application will not lauch but user will get SAP gui screen for processing it.
    xlm code must be changed corresponding task for both case.
    Thanks and ragards,
    SNJY

  • Set Decision Step in WF via Terminating Event

    Hi All,
    I have a custom Work flow in which I am trying to terminate a Decision Step via a terminating event.
    Following Pre- requisites have been set:
    1) In the Control task for the decision step I have assigned the terminating event.
    2) Required linkages have been maintained via SWE3 transaction.
    ISSUE: When the terminating event is raised then the Workitem for this steps gsts completed but workflow ends with an ERROR --> "No Successor for the terminating event defined".
    Please let me know if any of you is familiar with the issue or have any inputs.
    Thanks in advance..

    Hi Sourabh,
    There would be some binding problem going with Decision step while using Terminating event maintained at
    the Task of the Decision step.
    Rather go with FORK step with two parallel branch and 1 necessary branch. Specify the approval step in one
    branch and wait for the release step event in another branch.
    Hope this way would solve your issue.
    Good luck
    Narin

  • UCCX - set priority command CSQ

    I am setting up a Que and the customer wants to have agents in group A answer all the calls.
    If a call waits in que for over 5 minutes, they want a second group of agents (group b) to be able to take that call. So the call could goto the either group A or B.
    My question is, Can I do this in one Que, or do I need two.
    I was thinking that I could do a “set priority” of 5 when the call comes into the que and then after 5 minutes, set it to 1.

    Hi Carlo
    Priority probably won't help - all that does is move the call 'ahead' of other calls in the queue. It doesn't affect to 'who' the call is routed.
    Basically if you want the system to make an instant decision (e.g. route to group of agents A, but if not busy send to agent group B) then you can give agent group A higher skills than B, and use the 'most skilled' routing algorhythm on a single queue.
    If you need that 5 minute delay, then you need two queues, with the second queue added with  a 'select' step in the 'queeud' branch of the first 'select' step.
    Regards
    Aaron

  • E2000 setting priority is not working for one PC

    my home has a max download speed of 300 KB/s. which can make gaming quite an issue if someone in the house starts using something that is a bit of a drain on the bandwidth.
    i fixed the issue for a few months by setting the gaming console to be the only device with high priority. but for some reason my sisters hp laptop still drains all the bandwidth shen he loads youtube. and the only way to stop it is a mac address block on that computer so the game isnt literally frozen still.
    i need to figure out how to get the priority working against this device.

    In this section, you can set the bandwidth priority for a variety of applications and devices. There are four levels priority: High, Medium, Normal, or Low. When you set priority, do not set all applications to High, because this will defeat the purpose of allocating the available bandwidth. If you want to select below normal bandwidth, select Low. Depending on the application, a few attempts may be needed to set the appropriate bandwidth priority.
    To Enable QoS service on your router you can follow this link and follow the steps on the website: http://www6.nohold.net/Cisco2/ukp.aspx?vw=1&docid=05ef4bac579a47d39d9454a4b0583cbf_1701.xml&pid=80&r...
    Second, let me know the current firmware version in the router management page: http://www6.nohold.net/Cisco2/ukp.aspx?vw=1&docid=df680dece5cd4f7ea8141ea0026db71a_4046.xml&pid=80&r...

  • Is it possible to change role's sort priority dynamically?

    Dear repliers,
    I want to implement menu personalization.
    I mean i want user to change their menu structure dynamically in webdynpro java.
    Is there any way or code to do this?
    If it isn't, is there any way to change role's sort priority dynamically in webdynpro java?
    Please let me know if u have any information about it..
    Yours Regards,
    JS Park

    we can change pages/workset/roles sort priority dynamically. But it will affect all users. There only one copy of pages/workset/roles exists.
    The work around could be... You can develop a custom application in which you have predefine set of possible values.
    example :
    role (sort Priority)
    1) employee (100)
    2) Manager (200)
    3) Sales Manager (300)
    Create copy of Each role with different sort priority for all roles
    for eg.
    1) Employee (200)
    2) Employee (300).
    And in your web dynpro application assign roles according to users choice.
    But It would be difficult to maintain roles. Because if you need to perform one change you need to apply them to their copies as well.

  • "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

  • Calling Transaction through User Decision step in workflow

    Hi all,
    Pls help me calling a transaction through User Decision step in workflow. I have attached two buttons to my User decision and the one of the outcomes to a task where I am calling the transaction through a method of BOR. But the problem is I am unable to see the transaction when I press the button on my User Decision at test run.
    Can you ppl let me know how can I achieve this?
    Pls reply ASAP...
    Thanks
    Sangharsh

    Hello Sangharsh ,
    Please Check the paramater of of the method which you define.
    e.g. I define CALL_TCODE_CJ03 method
          which have the parameters FLAG,ProjectDefinition,WBSElement2,User
          with export, import checkbox.            
    Pass the paratmeres in programs
    e.g.
    BEGIN_METHOD CALL_TCODE_CJ03 CHANGING CONTAINER.                      
    DATA:                                                          
          FLAG(1),                                                        
          PROJECTDEFINITION TYPE PROJ-PSPID,                              
          WBSELEMENT2 TYPE PRPS-POSID,                                    
          USER TYPE USR21-BNAME.                                                                               
    SWC_GET_ELEMENT CONTAINER 'FLAG' FLAG.                              
      SWC_GET_ELEMENT CONTAINER 'ProjectDefinition' PROJECTDEFINITION.    
      SWC_GET_ELEMENT CONTAINER 'WBSElement2' WBSELEMENT2.                
      SWC_GET_ELEMENT CONTAINER 'User' USER.                                                                               
    GET PARAMETER ID 'PSP' FIELD PROJECTDEFINITION.                       
      GET PARAMETER ID 'PRO' FIELD WBSELEMENT2.                                                                               
    SET PARAMETER ID 'PSP' FIELD PROJECTDEFINITION.                       
      SET PARAMETER ID 'PRO' FIELD WBSELEMENT2.                             
      CALL TRANSACTION 'CJ03' AND SKIP FIRST SCREEN.                                                                               
    SWC_SET_ELEMENT CONTAINER 'FLAG' FLAG.                              
      SWC_SET_ELEMENT CONTAINER 'ProjectDefinition' PROJECTDEFINITION.    
      SWC_SET_ELEMENT CONTAINER 'WBSElement2' WBSELEMENT2.    SWC_SET_ELEMENT CONTAINER 'User' USER. 
    END_METHOD.
    I hope it will help you.
    ***Assigning points is the way to say thanks in SDN.***
    Minaxi Shah

  • Cancel and keep workitem in ready state in user decision step

    Hi,
    In a user decision step,there is a default option 'Cancel and keep the work item'.
    Now clicking on this option, the workitem goes into "Inprogress state"
    whereas i want to keep the workitem in "ready state"  after i click on the option 'Cancel and keep the work item'.
    I am trying to modify the Process method of Decision Object type to incorporate this funcationality by using FM "SAP_WAPI_PUT_BACK_WORKITEM.
    but im getting the error that this FM cannot be used at runtime.
    Place where im trying to call this FM:
    After the FM'SWU_PROCESS_MANUEL_DECISION'
    I am getting the value of RESULT.
    If result is SPACE or sy-subrc is not 00 then i am calling this Fm which takes Wi_id of the userdecision as input.
    Kindly help
    Regards

    Hi,
    Let me ask you this. Why you need to have this in "Ready" state, Not in "IN PROCESS" state. Anyway, the witem is still there in the user's inbox, and if you have any deadline monitoring, then this is also taken care with "Cancel and keep xxxx". So, i think, functionally you'll still be better with the existing functionality.
    And, with all this, if you are still trying to change, then i think it's NOT possible. If i understand correctly, you are trying to use the FM "SAP_WAPI_PUT_BACK_WORKITEM" within the PROCESS method. And, if you understood the functionality of how this works, you are trying to set the status of the SAME witem for which you are executing the PROCESS method.
    THe way i understand the behind-the-scenes process, once you make a decision and save, this method is the one which in turn sets the witem status. And within that, you CANNOT capture the status as it is yet to be posted to the Witem tables.
    Probably, after this decision step, use a different background task with the above FM to set the witem status to "Ready", BUT NOT IN THE SAME METHOD of PROCESS.
    Also, it's not advisable to change this std. method.
    Hope this helps you. Reply,if you need more info.
    venu

  • Terminate loop in user decision step

    Dear Experts,
                         I have a user decision step in my workflow; which has two buttons e.g; approve and reject buttons. this step is in the loop. I want to terminate the loop when user click on Approve button. How I should capture the ID of approve button. OR there is some other idea to terminate the loop; as I don't have any other condition to stop the loop.
    Regards,
    Sohail

    Hi Sohail,
    Create one workflow container (e.g. APPR_FLAG) of type CHAR1. Then just after APPROVE branch of user decision step create one 'container operation'  step and set the APPR_FLAG to X. finally in you loop end condition put terminating condition as APPR_FLAG = X. So this your loop will terminate once qgent clicks on APPTOVE button.
    Regards,
    Ibrahm

  • Problem in User Decision Step

    Hi,
    I am facing a strange problem where one of the User when he is trying to process a work item (User Decision) he gets a blank screen.
    This work item is a User Decision Step. Only this user is facing the problem. At least the button Cancel and keep Work item
    In Inbox button is also not visible.
    He was earlier able to see the other buttons. Is it any authorization problem? Has anyone faced a similar kind of Issue.
    I tried executing the Txn SWIA to execute the work item and see the problem .But I don’t see the execute button to execute it as an administrator.
    Do I need additional authorizations to be able to execute it? If so what are they? I am able to see the execute button in my QA sys.

    This is an example of a question where you <u>definitely</u> should specify your release, and in your case also the GUI version.
    I remember having some problems with the user decisions some years ago, and as far as I can recall it was in release 4.6C. Anyway, the problems only occured with the HTML version of the decision task, and it was caused by incompatible versions of an OCX file (Windows binary file containing reusable GUI controls as far as I know). SAP GUI had installed one version, and another application had installed a more recent version, which of course should not cause problems - but did.
    So my advice would be to first try and turn off HTML in the decision task (it is an option (checkbox) in the personal workflow settings) and see if that helps. If it does, get a hold of the GUI install checker tool and see if there is a problem with a dynamically loadable module (DLL, OCX, ?).

  • 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

  • Dynamic User Decision Texts

    1. Is there a way to configure WF for Dynamic user decision texts? Depending on a flag I might want the user to have two decisons like "Accept" or "Reject" or in some cases three decisions like ""Accept" or  "Reject" or "Cancel" or etc etc.
    2. If the above is not possible, can I have maybe 4 fixed User decision texts and dynamically enable or visible them as I need. For example I can have "Accept" or  "Reject" or "Cancel", but I may need on ""Accept" or  "Reject", so make Cancel invisible..Is this possible..
    Thanks a lot in advance..I will award points..
    Amlan

    You need to program the outcomes in the method and handle these in the workflow. The standard user decision step allows you multiple and good thing is you don't need to program anything but just handle it in the workflow.
    Why don't you give it a try and see for yourself?
    Regards
    Ravi

  • 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

Maybe you are looking for

  • 'Storage location MRP indicator'

    hi; what is the table name for fetching 'Storage location MRP indicator'  specified with material number  and storage location thanks in advance

  • Acrobat freezes when adding a signature field

    We are currently using Acrobat 9.5.5 (updated on 12th June 2013) on a windows 7 (64-bit) machine, when adding a signature field to a PDF that has been created using the AdobePDF printer (from a file created in AutoCAD 2013) Acrobat freezes and starts

  • Printing document /image using flex 4.5.1 - is it possible?

    Hi respected, I want to check one fesibility, Printing document or image using flex 4.5.1 - is it possible? I want to develope mobile application (ipad) using Adobe 4.5.1 . So is there any way to handle priniting from app.  Regards, Madhu

  • Pass a parameter to Surikogiflex client

    Hello all, I'd like to know if it is possible to pass a parameter to Surikogiflex client, to be able to tell it to open a certain story. For example, I wonder if it is possible to have in an html page a link like <a href="localhost:8400/suribachi/cli

  • How to change a Manual Input variable into a customer exit variable?

    Hello, I need to change the "processing by" option of an used BEx variable from "Manual Input" to "Customer Exit" but this field is not available (= in grey) in modification. Does it exist a tip or a standard program to modify this no-accessible fiel