UWL - Default buttons on User decision with note

Hello!!
I have configured a decision item from a decision task to set the user decision with note.
My decision task has 2 decision options (accept is"Validar gasto" and reject is "Devolver gasto para correccion"), but when an item for this task comes, only is displayed two buttons with the text "Decision".
This is the configuration file:
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE UWLConfiguration PUBLIC '-//SAP//UWL1.0//EN' 'uwl_configuration.dtd'
  >
<UWLConfiguration version="1.0">
  <ItemTypes>
    <ItemType name="uwl.task.webflow.decision.TS99701053.SAP_ECC_HumanResources" connector="WebFlowConnector" defaultView="DefaultView" defaultAction="viewDetail" executionMode="default">
      <ItemTypeCriteria systemId="SAP_ECC_HumanResources" externalType="TS99701053" connector="WebFlowConnector"/>
       <Actions>
        <Action name="accept" groupAction="yes" handler="UserDecisionHandler" returnToDetailViewAllowed="yes" launchInNewWindow="no" referenceBundle="Validar_gasto">
          <Properties>
            <Property name="decisionKey" value="1"/>
            <Property name="UserDecisionNote" value="true"/>
          </Properties>
          <Descriptions default="Aceptar"/>     
         </Action>
        <Action name="reject" groupAction="yes" handler="UserDecisionHandler" returnToDetailViewAllowed="yes" launchInNewWindow="no" referenceBundle="Devolver_gasto_para_correccion">
          <Properties>     
            <Property name="decisionKey" value="2"/>
            <Property name="UserDecisionNote" value="mandatory"/>
          </Properties>
          <Descriptions default="Rechazar"/>
         </Action>
       </Actions>
    </ItemType>
  </ItemTypes>
</UWLConfiguration>
Somebody knows how can I change the text of the buttons?
Is very urgent, please.
Helpful answers will be rewarded.
Thanks and regards,
Manuel.

I think what Karri means (or should mean ,-) is that there could be a translation issue here - and I agree with that. The texts are most likely generated in the language of the user who creates the work item. If this is not Spanish (I assume that's your logon and development language) you will not get the correct texts. So you will either need to change the logon language of the user, or translate the workflow's texts. I would recommend translation, because you never know when someone might log on in a different language than the system default. It has been known to happen.

Similar Messages

  • User Decision with Note - Where are comments stored?

    We are interested in using the "UserDecisionNote" property in our XML file for a User Decision workitem.  (This allows a comments text box when a user clicks accept/reject for example)
    How and where are these commens stored?  As an attachment?
    Thanks,
    Matt

    Sorry, I should have stated what our goals were.  We currently capture comments with an activity step right after a user decision step.  This happens as an immediate popup/dialog because of synchronous dialog chains in SBWP.  We may then put the comments in a subsequent email step, subsequent workitem text, or custom table. 
    You cannot do synchronous dialog in Universal Worklist.  So, we were investigating UserDecisionWithNote property of XML file for task.  However, it appears the comments are stored as an attachment and not passed as text back to Task/WF (which I'm hoping someone on this forum can confirm).  If they cannot be passed back as text and are indeed stored as an attachment, then in theory we need a way to get the comments out of the attachment.   I'm not aware if anything allows us to parse attachments, etc.
    Matt

  • 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

  • HREF in user decision task not working in UWL?

    Hi All,
    We're on ECC6 and portal version 7.01 SP4.
    My problem is that I have defined a link in the body of a user decision task like so..
    <A HREF="http://www.google.ie/" target=_blank> GOOGLE </A>
    and while in appears as a link in the task in the UWL, clicking it does nothing. When I check the properties of the link, I see that it's actually javascript:void(0);, so hence it doing nothing.
    Can anyone give me any guidance on how to get a link working in a user decision task in the UWL?
    Thanks in advance,
    Liz.

    Hi Patrick,
    Thanks for the respnse, I've since figured out that what I was trying to do was not possible.  I have impleneted a workaround myself, where I just added an extra button action in the UWL.
    Many thanks,
    Liz.

  • User Decision with Secondary Method

    Dear All,
    I have created a user decision step for Leave Request workflow (ie. to approve or reject ).
    This is done for multiple approvals of leave request through UWL i.e. user can select multiple requests & take decisions(approve/reject).
    In the user decision step, i want to use a method other than standard task TS00008267.
    In the methods tab i have used Secondary Method,
    Object Category as Class
    Obj.Type as CL_PT_REQ_WF_ATTRIBS
    Method DUMMY.( as per the standard workflow - WS12300111).
    But no value is returned by this method. How can binding be done here so as to use the values in further steps??
    Please help.
    Regards,
    Vidya

    Hey it is very easy to know whetehr the leave is approved or not. and even you can get this decision into the workflow container
    No need of using any secondary methods SURE
    See the step Approval in the Leave workflow will use Dummy method of that class that you have mentioned.
    Your staus is updated in the REQ container element of the workflow , it is the that you mentioned, in that class you have a attribute with name Status whe you approve it will be changed to Approved when the leave is created it will be Sent , so by using a Condition step check this attribute value if it is approved then in update one conatiner element  by using Container operation step.

  • Remove DEFAULT BUTTONS from User Form

    Hi.
    At the bottom of the Create User Form are 6 standard buttons :
    SAVE..........BACKGROUND SAVE..........CANCEL..........RECALCULATE............TEST..........LOAD
    I would like to remove some of them.
    How do I do this?
    P. S. I am aware of the "*noDefaultButtons='true'"* command. This is not what I want. I would like the default buttons to remain. For instance : SAVE and CANCEL.
    I just wish to remove others.

    The code for the default buttons are not likely to be found in a form but rather defined within the java code embedded in the jars.
    Regarding the definition of the other buttons you are unfortunately digging into areas of Sun IDM that are not very well documented.
    (See the results for the processInputs you show: [http://search.sun.com/docs/index.jsp?col=docs_en&locale=en&qt=processInputs&dcol=1514.6|http://search.sun.com/docs/index.jsp?col=docs_en&locale=en&qt=processInputs&dcol=1514.6] )
    The difference between the background save and a regular save (as you noted), from what I'm guessing since it's not well documented, is the definition of the processInputs.backgroundProvisioning in the field name. (Most buttons don't have field names since they don't need to push data back into the user view.) It's being set to "true" but the command is the regular "Save" button command. (The save button command instructs IDM to process the changes WITH form validation as opposed to SaveNoValidate.)
    This means that when the button is clicked the user view is being updated with the processInputs.backgroundProvisioning option set to true. Obviously IDM uses that flag to process the user view differently.
    Again, how and why that is used is not well documented. The only references I can find is in the ViewConstants and UserViewConstants classes in the javadocs but there's really no explanation about the use of the backgroundProvisioning variable.
    This is easily my biggest complaint about IDM. The options you need to customize the product aren't exposed properly to a developer. Sorry I can't be of more help. You've run into the same brick wall many of us have.

  • User decision option not seen to approver

    We have a user decision in our workflow template. We have decision option Select approver ,Sent back to AP ,Cancel . When some users execute the this task they were shown as decision decision and cancel. decision option text is not shown to them. This is happenng for few users only. not for all users. Please suggest what can be done to solve this issue

    Yaa Martin is right please check the Translations has been maintained for the Logon language in which the user is logging in. You can check the table entries of SWDSTEXT.
    Thanks
    Arghadip

  • User decision activity not going to the agents(Position Maintained).

    Hi All,
    I assigned a specific Position in the agent field of  the user decision activity. But after assigning, the decisiion step is not going to the expected agent but it getting executed by the WF-BATCH user.
    I have checked the same in the Tcode : PO13 and the corresponding user is the only one maintained for that position.
    Kindly guide what can be the possible reasons. Is there any thing i am missing.
    Thanks,
    Neslin.

    Thanks.Yes.Latest start and latest end are already maintained and there is a Rule when the latest start missed also.  kindly let me know how i can avoid this also..
    How to check whether the position is maintained to the SAP user id?.I have seen the user maintained under the position in Tcode PO13..
    The deadline is calculated 4 days after sydatum.
    One more thing the Workitem got reserved by the WF-batch and executed by WF-batch.
    Edited by: neslin on Jul 28, 2009 7:49 AM

  • 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

  • PR Release with user decision

    Hi Experts,
                       I have done PR Release WorkFlow and it is working fine and i am also using RSWUWFML2 program to send the workitem to external mail so that on clicking the shortcut it takes to the release screen. But they further need an enhancement of only button (like user decision ).
    How can i replace PR release screen with user decision step type . In user decision i am not able to pass release code in standard activity.
    1) Release
    2) cancel
    3) Reset
    Regards,
    Hari

    If I'm right, you are trying to replace the approval activity with a std decision step. If yes, then there is no need to pass on the release code to this decision step, the rel code is passed on to the WF as std, now once the user clicks on approve, the approve branch will become effective now add a bck grd activity to release the PR using std FM's. similarly apply for the other branches.
    Regards, IA

  • How to set default button when press "Enter"

    Hi,
    I have a form and it has only one button (Submit). When I press "Enter", it can submit the form and do the action. However, when I add another button (Normal button, not submit), it cannot perform submit action directly when I press "Enter".
    If we press "Enter" and the form can submit automatically, it is more user-friendly than without this feature. Therefore, may I know the method of set the default button when users press "Enter"?

    At first I thought the order of the form controls might matter.  When I run this code:
    <cfdump var="#GetTickCount()#">
    <form action="TestCfgrid.cfm" method="post">
    <input name="x" type="text" />
    <input type="button" value="x" />
    <input type="submit" />
    </form>
    While I am in the text box, if I press the enter key the form submits.  I originally tried it with the submit and button inputs in the opposite order.
    Note that the enter button will not submit the form if you are in a select control (aka dropdown) or a textarea or if your focus is not on a form element.  That's the default behaviour.  If you want to override that, you'll have to write some javascript.

  • 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

  • Long list of user decisions

    Hi all,
    I need to send a work item for choosing one of a long list of purchasing groups (about 90) and I don't know if
    the only solution is a user decision with the same number of buttons or it's possible to use a dropdown list or something similar. I need to save the corresponding code of PG and use it after in a function module.
    Any help? Thanks in advance.
    Kind regards,
    Angelo

    Hi,
    Definitely don't do this with a user decision.
    It's much better to let an ABAP person create a simple screen in which you select a purchasing group (like in search helps), then create a method for this abap in appropriate Business Object and then create a task for that method.
    Before you make this, isn't there an existing method to use for selecting purchasing groups?
    Kind regards, Rob Dielemans

  • Email notification - User decision - Deadline monitoring

    Hi Experts,
    My requirement is to forward workitem if there is no response from an approver for 6 days. I did this using deadline monitoring for 6 days in Latest End tab for user decision. But, daily i need to send reminder email notification if the workitem is pending for approver's response. Please suggest me in doing this.
    Thanks in Advance,
    Siva Sankar.

    Hi Gurprit,
    I've created a user decision with 6 days deadline in Latest End tab. When deadline occurs, i'm obsoleting the workitem from approver's inbox and in deadline outcome, i'm just reading next level manager's details. at the end i'm checking whether decision received from approver or not. if not, i'm sending the workoitem to next manager using loop step. This is working fine. But where to implement the logic to send reminder emails.
    Thanks,
    Siva Sankar.

  • How to set the default button of an ALERT

    Can someone help me how to set the alert propety to change the default button from button1 to button2.Not from the prioperty palette, but inside the code using like set_alert_property.I am using the Oracle Forms 10g.
    Thanks in advance.
    Srini

    To the best of my knowledge, the default button cannot be set at runtime. This must be set at design time in the Builder.
    Refer to the Forms Builder online help for details:
    http://www.oracle.com/webapps/online-help/forms/10g/topics/f1_help/builts/setatpro.html

Maybe you are looking for

  • It takes firefox a long time to open on my laptop,other sites open fast,any clue?

    Firefox is my default browser and it opens very slow now,other sites open normal.By slow I mean 10 seconds respons time,before this was 2 seconds.

  • How to Schedule a Backup in db2

    Hi, Experts We are using ECC6 (OS400 with DB2). i want to schedule a backup in db13 but system throwing error iSeries : Function not supported for DB2/400 Please tell me how to schedule a backup Thanks & Regards Venkat

  • Copying an alpha channel from one comp to another?

    I've created a green screen key using Primatte in one comp, and I want to use that same key in another comp, but where the background has since been replaced and rendered out with an effect I want to keep on the foreground subject. I bet it's somethi

  • Syncing iPhone with content on a NAS

    I am thinking of transferring entire media library which includes my music, movies and iPhone backups all onto a NAS. Just need to ask, can my iPhone sync with content on a NAS instead? Even if it's freshly restored? Also, if I bring my MBP and iPhon

  • MacBook won't boot past grey screen

    Today I was using my MacBook 2008 aluminum, and I ran out of battery so the system shut down the computer to save the files. I plugged in my computer to start it up but the screen turned grey for a while. I shut down my computer and turned it on and