User Decision step type

Hi,
I have developed a WF for 'Notification of Absence'. In this, a leave request is sent for approval.
When the leave request is Rejected, the creator has to make a decision (User Decision step type used) as to 'Withdraw' or 'Update' the request. But in the inbox of the creator, there is no option for "Withdraw' and 'Update'. What could be the reason for this? Am i missing something?
Thank you for your time.
Ajay

Hi AD,
are you trying to process anything else after the Decision Step in your WF definition ?
If yes, then what are you trying to process after it
If no, then try what JMB said, GUI problem, I doubt that but you can try as you need to resolve it.
Did you try removing the buffer ?
Hope it helps.
Aditya

Similar Messages

  • Miscellaneous tab  in User Decision step type ?

    Hi,
    How miscellaneous tab would be useful and in what case(scenario) we would be going for that..
    Also it would be helpful how it could be used.
    Thanks
    Ganesh

    Hi Ganesh,
    The link is refering to your Tab. You are probably on a higher release than WAS6.20 which the help is for.
    As Anuj mentioned this tab is for all the tasks the same. About what part of the tab do you have questions? I think the text in the tab is pretty self explanatory.
    Regards,
    Martin

  • User Decision Step in BPM - PI 7.1

    Hi All,
    I have posted a wiki for User Decision step in BPM in PI 7.1, Please go through it and post your queries, suggestions and comments here.
    The link for same is under:
    Part1 - https://www.sdn.sap.com/irj/scn/wiki?path=/display/xi/userDecisionstepinSAPPI7.1-Part+I
    Part2 - https://www.sdn.sap.com/irj/scn/wiki?path=/display/xi/userDecisionstepinSAPPI7.1-Part+II
    Regards,
    Sachin

    Hi Sachin,
    Nice job,
    During my practice on this scenario. I have got an error please kindly guide me on this, may this error also clear for the others
    *I got an error on SXI_MONITOR as:*
    <?xml version="1.0" encoding="UTF-8" standalone="yes" ?>
    - <!--  Call Adapter
      -->
    - <SAP:Error xmlns:SAP="http://sap.com/xi/XI/Message/30" xmlns:SOAP="http://schemas.xmlsoap.org/soap/envelope/" SOAP:mustUnderstand="">
      <SAP:Category>XIAdapter</SAP:Category>
      <SAP:Code area="BPE_ADAPTER">UNKNOWN_MESSAGE</SAP:Code>
      <SAP:P1 />
      <SAP:P2 />
      <SAP:P3 />
      <SAP:P4 />
      <SAP:AdditionalText />
      <SAP:Stack>No object type found for the message. Check that the corresponding process is activated</SAP:Stack>
      <SAP:Retry>M</SAP:Retry>
      </SAP:Error>
    The trace of the error as:
    <Trace level="1" type="B" name="CL_XMS_PLSRV_CALL_BPE-ENTER_PLSRV">
      <Trace level="1" type="T">could not create BPE proxy for message, no XML object definition found for message 72485F6BFC78416A29EEE3EE10D09BCE</Trace>
      </Trace>
      </Trace>
      <Trace level="1" type="System_Error">Error exception return from pipeline processing!</Trace>
      <Trace level="1" type="B" name="CL_XMS_MAIN-WRITE_MESSAGE_TO_PERSIST" />
    Please kindly guide me on this, Is the message has to validate at sender agreement? if not where is the error I am doing?

  • Need 2 Multiline elements for user decision step

    We are on SAP R/3 Enterprise version.
    I have this requirement to find agents based on the agent type and work center field.  So I created a responsibility rule for each type of agent type.  The responsibility rule is keyed on the work center, and HR positions are mapped to each responsibility rule’s work center field. 
    We have 50 agent types/responsibility rules, 60 work centers, and 1 or more positions for each agent type and work center combinations. Due to the total number of positions, I prefer to use 1 responsibility rule per agent type for ease of maintenance.
    I have a FM that reads the responsibility rule based on the agent type and work center field and retrieve the agent_list.  I used this FM/method/step prior to my user decision step and pass the agent_list to the UD step via container.
    In my user decision step, the ‘Other’ tab does not have Multiline element for me to enter my agent_list.  So I cannot use &agent_list[&_WF_PARFOREACH_INDEX&]& in my user decision agent assignment expression field.
    In my last job, we have SAP ECC 5.0, the UD step has a ‘Misc’ tab that has Multiline element, but our current SAP R/3 Enterprise version does not have ‘Misc’ tab, it only has ‘Other’ tab.
    Question:
    1.  How do I use [&_WF_PARFOREACH_INDEX&] without Multiline element for agent_list in UD step?
    2. I have to use the same way to retrieve my LED_agent_list as well, so I need 2 Multiline elements in my UD step. But normally in  ‘Other’ tab, it allows you to define only 1 Multiline element. How do I get around this restriction?
    3. My last resort is to use 1 responsibility rule, then I can use the rule in the agent assignment.  If that is the case, is there any limit on the number of entries in the rule?
    Thanks.
    Amy

    Sorry, I posted to the wrong forum.

  • Need Help on User decision step in BPM

    Hi All,
    I have a requirement to design the user to to system interaction in a partiular scenario.  I am trying to use the User decision step in BPM available in PI 7.1 server. I have used the User decision step and filled all the parametes as given in the sap documentation. When I am trying to execute the scenario, The outbound process is succesful but stops at the BPM workflow at the User decision step with the message (No Agent ready) .
    Can anybody help me in solving this issue.
    Thanks in advance,
    Kalpana

    Hi Shabarish and Swarup,
    I have defined the relevant user in  the Integration directory , also made sure that the user entered is defined on the integration server and there are not restrictions on the defined user. The workflow log is as follows:
    Workflow              File2File_BPM1
    Workflow instance     File2File_BPM1 http://File2File_BPMdemo
    Instance number       000000001046
    Start date            30.12.2008     Started by            WF-BATCH
    Start time            11:33:36       Current status        In Process
    View: Workflow chronicle
    Error       St Task                                          Result                                   Date       Time     Processing time
    Error Agent                     Executed Action                          Date       Time     Object               Object Name                    Object 2             Object name 2                  User Context
    File2File_BPM1 http://File2File_BPMdemo       Workflow started                         30.12.2008 11:33:36               -1s
    WF-BATCH                  Start message received                   30.12.2008 11:33:36 MIAB_BPM_OB2 / http: C532A7AB4D284B9011C0B0C7F8AFB                                                      WF-BATCH
    WF-BATCH                  Workflow started                         30.12.2008 11:33:36                                                                                WF-BATCH
    WF-BATCH                  Events Dispatcher Active                 30.12.2008 11:45:36 MIAB_BPM_OB2 / http: 597B946347C148AD03988B5D8BE2C                                                      WF-BATCH
    WF-BATCH                  Events Dispatcher Active                 30.12.2008 11:45:37 MIAB_BPM_OB1 / http: 6E0E09EE977E4F333D02DDDAE9A52                                                      WF-BATCH
    WF-BATCH                  Events Dispatcher Active                 30.12.2008 13:48:07 MIAB_BPM_OB2 / http: 9F5491FD9BC642E50486A6FED89DA                                                      WF-BATCH
    WF-BATCH                  Events Dispatcher Active                 30.12.2008 13:48:07 MIAB_BPM_OB1 / http: 1AE5BB06D72341AD01F8C45E6AA7E                                                      WF-BATCH
    WF-BATCH                  Events Dispatcher Active                 02.01.2009 05:34:58 MIAB_BPM_OB2 / http: CD698CDE5606436811BAB330011AF                                                      WF-BATCH
    WF-BATCH                  Events Dispatcher Active                 02.01.2009 05:34:59 MIAB_BPM_OB1 / http: 2D82C00C16E0447F1DF3B133470AD                                                      WF-BATCH
    'Good'{TYPE=SWFXST_STRING}'BAD'{TYPE=SWFXST                                           30.12.2008 11:33:37                0s         1046
    WF-BATCH                  Dialog work item created                 30.12.2008 11:33:37                                                                                WF-BATCH
    WF-BATCH                    EVALUATE_AGENT_VIA_EXPESSION           30.12.2008 11:33:37                                                                                WF-BATCH
    I hope this can help you in identifying the error.
    Thank you,
    Kalpana

  • 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

  • Smart form attachment in User decision step

    Hi,
    i have a requirement to display Smart form in user decision step along with Approce and reject buttons.
    Please guide how to attach a smart form in workflow.
    Thanks.
    Edited by: Sanjay_lnt on Jul 10, 2010 8:13 PM

    Here are some codelines may help you.
      CALL FUNCTION 'SO_FOLDER_ROOT_ID_GET'
        EXPORTING
          region                = 'B'
        IMPORTING
          folder_id             = lv_folder
        EXCEPTIONS
          communication_failure = 1
          owner_not_exist       = 2
          system_failure        = 3
          x_error               = 4
          OTHERS                = 5.
      lv_object-objla    = 'EN'.
      lv_object-objnam   = 'MESSAGE'.
      lv_object-objdes   = p_name.
      lv_object-file_ext = 'PDF'.
      CALL FUNCTION 'SO_DOCUMENT_INSERT'
        EXPORTING
          parent_id                        = lv_folder
          object_hd_change                 = lv_object
          document_type                    = 'EXT'
       IMPORTING
          document_id                      = lv_doc
       TABLES
         objcont_bin                     = it_objcont_bin " Your binary file data
       EXCEPTIONS
         active_user_not_exist            = 1
         dl_name_exist                    = 2
         folder_not_exist                 = 3
         folder_no_authorization          = 4
         object_type_not_exist            = 5
         operation_no_authorization       = 6
         owner_not_exist                  = 7
         parameter_error                  = 8
         substitute_not_active            = 9
         substitute_not_defined           = 10
         x_error                          = 11
         OTHERS                           = 12     .
    Now pass the folder details to AttachObjects of BO type SOFM
    Edited by: Saurabh Thalpati on Jul 14, 2010 12:20 PM

  • Enter message in User Decision Step

    Hi,
    I am developing a workflow, I have a requirement wherein before the user takes decision and clicks on the buttons say 'yes' or 'no' , he should be able to enter a message, is there any standard object type or method which opens up a dialog box for this??
    Thanks in advance

    Hello Divya !
           I suggest to design workflow such that the user enters message after taking the decision either "yes" or "no".
           Any way, if you want to design the workflow such that the user should be able to enter the message before taking decision, create a method in your business object.In the method, call the function module CATSXT_SIMPLE_TEXT_EDITOR.Inscribe this method in a task step.As per your requirement, this task step should be maintained before the user decision step.
            If the user should enter message after taking the decision, maintain this task after the user decision step.
    Regards,
    S.Suresh

  • 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

  • URL in user decision step

    Dear Experts,
    I am using ecc4.7 version system. I have a user decision step. I want to display an url in objects and attachments section of user decision step. Ofcourse I found many similar threads from SDN. But they are not helping me with the solution. Please tell me how to achieve the same.
    KR,
    Bharath
    Edited by: bharath padmanabhan on Dec 21, 2009 9:08 PM

    Hi Bharath,
    Have you displayed the URL in Attachmnt & Object of UD step?. If not try this,
    If we need to display something, say URL in Attachmnet & object of UD step, we need to have a BO (instantiated) and the default method of the BO (mentioned in Basic data of SWO1) will be executed, if we click the URL in Attachment & Object.
    I am not sure, whether you have any ZBO or not, if not create a ZBO and create a key field, this key field needs to hold the URL link. Then create a method, inside the method, call the FM- "CALL_BROWSER" by passing the Exporting para of FM (URL) as object-key-<key field>. Also in the basic data tab of the SWO1, give this Zmethod name in default section tab.
    Now copy the std task of UD step and create a task container as same type of ZBO and create a WKF container as same as ZBO and instantiate this ZBO. And do the binding in the UD step,
    <WKF container of ZBO> -> <Task container of ZBO>
    Make sure before this binding, the WKF container of ZBO needs to be instantiated with the corresponding URL as key field. Now execute the WKF, you will find the Link in Attachmnet & Object and after clicking the link, it will direct to you the corresponding place. Let me know for any issues.
    Regards,
    Vinoth

  • Can we display custom error message in user decision step screen.

    Hi,
    My requirement is to display error message when approver selects reject button in user decision step.
    based on some condition i need to display error message in user decision screen when approver tries to
    reject .
    Please help
    Thanks,
    Phani

    Hi ibrahim,
    Thanks for your Replay.
    steps
    1. cretae global class with interface  IF_SWF_IFS_WORKITEM_EXIT.
    2. cretae Event with importing parameter.
    where i need to call EVENT_RAISED method ,do inned to call that method in
    IF_SWF_IFS_WORKITEM_EXIT ?
    how  SWRCO_EVENT_AFTER_EXECUTION value is passed to method EVENT_RAISED ?
    Thanks,
    phani

  • Container variables in User decision Step in BPM

    Hello,
    I am using User decision Step in BPM.
    When i use only text in "Title for Display" the BPM is activated successfully and Status in SXI_CACHE also shows 0.
    If I use container variables in "Title for Display" the BPM is activated successfully but status in SXI_CACHE shows 99.
    It shows the below error
    "Problem updating an integration process with object ID 073AF2C620F43E839B2903344DEE29BB. Symbol 'CE/KO' expected at position 1 in expression ''
    Please suggest.
    Thanks,
    Shabari

    Hi Shabari, did you follow the steps for declaration of variables as in [SAP help for user decisions|http://help.sap.com/saphelp_nwpi71/helpdata/en/42/c2a19fb4511d65e10000000a1553f6/content.htm]? How did you define your variable?
    Maybe discussion [in this thread|BPM activation Error in SXI_cache; can help, it is unanswered though.
    Regards, Martin

  • 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

  • SOFM in user decision step - provide reason in UWL

    Hello Everyone,
    I'm working with a customer who wants to use a user decision step and add a reason for the rejection only.  This step will be executed in UWL - since UWL doesn't support syncrhonous dialog chains, it can't be implemented by adding another step with SOFM.  I have seen the 'template with attachment' in the user decision step, and have tried binding SOFM to the Reference in the container, but the user doesn't have the option.
    Perhaps this could be implemented with a secondard amodal method - which checks the user decision code and only implements if the decision was rejected.  I'd like to be able to put a condition on the secondary methods.
    If you've done something like this, please let me know!
    Regards
    Ginger

    Hi Ginger,
    Unfortunately it is not only synchronous dialog chains, but also secondary methods that are not supported in the UWL, so you're stuck both ways.
    Though, I have been told that the latest SP does support some kind of advance with dialog functionality (SP15 I think?).
    At one customer we used a custom ABAP-based decision step which executed in a wingui session - thus synchronous dialog chains worked as long as every subsequent step was wingui based (which SOFM.CREATE obviously is) - worked quite well.
    Let me know if you need more info.
    Cheers,
    Mike

Maybe you are looking for

  • Screen broke on Macbook Pro?

    Hi I have a original macbook pro 15" (2 and a half years old) and the screen has just stopped working! I was on it about an hour ago and everything was fine. Just went to turn it back on now and I can hear that it is on, but the screen remains black.

  • My Application logs "The description of Event ID 0 from MyApp cannot be found" event to application event log

    Hello, This is regarding the following event logged by my application (MyApp.exe) to the application event log: Log Name:      Application Source:        MyApp Date:          03/2/2015 12:00:09 PM Event ID:      0 Task Category: None Level:         E

  • Cell border colour adjustments in Numbers 3

    Hi, is there a way to change just the colour of borders? I have a table with mixed styles of borders and want to change them from black to grey (similar to the default style at the bottom left of the style chooser). Additionally, how can I find out w

  • Running an Update form in Query mode from the MENU

    Could any one explain how to run the same Form from the same Menu with two different options, One in QUERY ONLY MODE and one in Update mode. We are using Designer 6i and Headstart 6.5. Thanks David Short

  • Mountain Lion keeps signing me out of twitter

    Mountain Lion keeps signing me out of twitter or I get an error when on Twitter saying something went wrong reload this page. Very annoying - anyone else having this problem?