Adding notes to decision task in UWL

Hi there WUGers,
We're looking into deploying UWL and I'm running into some "challenges."
First, we're on  Portal release: SAP NetWeaver 7.0 (2004s) SPS 15, the backend is ECC 6.0 (Release: 700     0015     SAPKB70015)
What I want to do is to have the "generic decision step" allow me to enter a comment/notes when I select the "reject" option on a given work item, as I've read in numerous forums, WUG emails, etc...
The "standard" config in UWL for this task is:
    <ItemType name="uwl.task.webflow.TS00008267.EX3" connector="WebFlowConnector" defaultView="DefaultView" defaultAction="launchSAPAction" executionMode="default">
      <ItemTypeCriteria systemId="EX3" externalType="TS00008267" connector="WebFlowConnector"/>
      <Actions>
        <Action name="launchSAPAction" groupAction="" handler="SAPIACLauncher" returnToDetailViewAllowed="yes" launchInNewWindow="yes" launchNewWindowFeatures="resizable=yes,scrollbars=yes,status=yes,toolbar=no,menubar=no,location=no,directories=no">
          <Properties>
            <Property name="newWindowFeatures" value="resizable=yes,scrollbars=yes,status=yes,toolbar=no,menubar=no,location=no,directories=no"/>
            <Property name="openInNewWindow" value="yes"/>
            <Property name="display_order_priority" value="5"/>
            <Property name="IAC" value="BWWF_WI_DECI"/>
          </Properties>
          <Descriptions default=""/>
        </Action>
      </Actions>
    </ItemType>
When I created a custom XML for it  (I did it verbatim according to the sample in Darren Hague's book and/or as shown in SAPHelp), and when doing so, I don't event get the decision task options to appear.  All I get is "Forward" and "Cancel Assignment" buttons.
<?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.TS00008267" connector="WebFlowConnector" defaultView="DefaultView">
<ItemTypeCriteria connector="WebFlowConnector" externalType="TS00008267"/>
<Actions>
  <Action name="Approve" groupAction="yes" handler="UserDecisionHandler">
   <Properties>
    <Property name="decisionKey" value="1"/>
   </Properties>
  </Action>
  <Action name="Reject" groupAction="yes" handler="UserDecisionHandler">
   <Properties>
    <Property name="decisionKey" value="2"/>
    <Property name="UserDecisionNote" value="mandatory"/>
   </Properties>
  </Action>
</Actions>
</ItemType>
</ItemTypes>
</UWLConfiguration>
Any help would be greatly appreciated.
Yours truly,
Joe Toledo

I had the same problem and it was all the XML.  You need to make sure you register after you create your workflow and custom tasks.  I then copied the generated XML ( uwl.webflow.clientname.xml ) to another file and deleted everything but my custom tasks.  You have to do some modifications to show the decision buttons and have the note be mandatory for rejection or whatever your requirement is.
I posted this earlier at Re: Dobuts in modifying an UWL XML file.  The XML doesn't show for some reason but if you hit reply on my message at the bottom and quote it, you will see it.  This was a simple version with just one task.
[You can also download the full version with all tasks here|http://www.2shared.com/file/5688314/467ddbb2/final.html]
Make sure and set the priority to High after uploading.

Similar Messages

  • Not receiving all tasks in UWL (IUWLItemManager)

    I'm creating an stand-alone application for the UWL (so you don't have to use the portal), and I followed this blog:
    /people/kenichi.unnai/blog/2009/10/19/how-to-use-uwl-api-for-netweaver-bpm-tasks
    My problem is that I'm not receiving all my tasks with the IUWLItemManager, I only get some old completed tasks!
    I already took a look at the uwl API link provided, but I couldn't find anything.
    Does anyone have any idea why I'm having this problem?
    Thanks in advance!
    Lynne
    ps I'm using NWDS CE 7.11

    I was able to solve my question myself:
    using the method
                   QueryResult result = itemManager.getItemsForItemType(uwlContext,ItemType.UWL_ITEM_TASK, null, null);
    I get the tasks I was looking for. The other method seems to only give back a selection of items (allready completed etc.)

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

  • Decision task not appearing in UWL

    Hi All,
    I am not able to see my decision task TS12000025 in UWL however I could see in business inbox in backend. Does anybody have any idea ?
    Appreciated.
    -Bijay

    Hi Bijay Kumar,
    In SWFVISU transaction you have to add this things.
    1. Task--Give the task id which has to be sent to the UWL
    2. Visualization--How you are going to view the screen (using java web dynpro) so give as Java web dynpro.
    3. Screen id--For which screen your are going to assign this task.
    4. Application ID--While you activate a web dynpro screen it will be providing a application id this has to be done in dynpro side and give that number in this parameter. After that if your activate the dynpro it will be giving the new application id so you have change the old id to the new one in SWFVISU transaction.
    Thanks and Regards
    Balaji K.

  • Need Help: Workflow Decision Task not visible in NWBC for customer Task

    Hello All,
    I am  new to NWBC configuration , need ur expert knowledge  for the below issue. I have checked the treat . Approve/Reject button for SRM Approval for RFx response ,but not able to get the exact steps for the configurations in NWBC.
    Requirement.
         We are working on SLM/SRM module, where we have requirement to create a custom workflow with custom Task for which we have executed below actions.
    Created the Custom Workflow.
    Created the custom Task with custom  ZCLASS and ZEVET.
    Created   Event linkages in SWE2.
    After doing this we are getting the workitem in the NWBC, currently we don’t have the Portal system in place, so we are using the NWBC for all our testing.
    What is the issue?
         When we select the workitem in the NWBC (UML) inbox  , the Decision Task ie “Approve” or “Reject” button are not visible , where as for SAP standard  Task  buttons are visible.
    What help we need?
      When we cross check the SCN/IBM portal, found that we need to do the XML file configurations. Can you any one kindly let us know the steps we need to follow to achieve our functionality.
    Thanks a lot in advance.
    Thanks and Regards
    Channa

    You need to share the details of what Inbox you are using, configuration steps depend on it. If you aren't using portal, you aren't using UWL and there is no UML inbox. You need to get your facts straight. Most likely you are using the Business Workflow Inbox (SWF_WORKPLACE) or the Lean Inbox (IBO_WDA_INBOX). Both are based on Web Dynpro ABAP and POWL but the configuration is different. Regardless, you posted this in the wrong space. Correct space is either SAP NetWeaver Business Client or Web Dynpro ABAP.

  • Object visualization to open attachment link in UWL decision task workitems

    We are using Object Visualization (in t-code SWFVISU) to open an I-view when you click the attachment link in decision task workitems.  I sort of have this working.  My issue is that I need to pass parameters to the I-view.  I'm not sure how to do that.  I've seen some documentation on dynamic parms in SWFVISU (DYNPARM) but I don't see that option (maybe we are on an older version).  Maybe we can via XML files?  I've done Task visualization and edited xml files but I'm not sure if we can do similar code for object visualization.  Does anyone know how to do this?   Have any samples/documentation?
    Thanks,
    Matt

    Hi Matthew,
    Check if the following links help you:
    /people/raja.thangamani/blog/2007/03/27/bsp-with-workflow-part-i
    /people/ginger.gatling/blog/2005/12/14/create-new-uis-for-existing-workflow-tasks-with-abap-web-dynpro-and-universal-worklist
    Problems with bitmaps and tables on the visualization
    /message/6725781#6725781 [original link is broken]
    Re: WD java application in UWL link has authentication problems !
    Regards,
    Saumya

  • In Decision task, Method defined after execution is not called from Portal

    Dear All,
    In one of my scenarios, I am using a decision task for approval.
    In that after the approval action is taken i am calling a BAPI to update business function.
    I have called this BAPI in the Methods ( After Workitem Execution ) .
    When I execute this task from the SAP Inbox ,  the method is getting called successfully and the BAPI is also executed successfully. But when I approve the task from portal this method is not getting called at all, and BAPI also fails.
    Actually in the workitem display , I am using the standard FM SWU2_INPLACE_DECISION_PROCESS, will it have any impact when its used from Portal ?
    Is there any common place that will be called from both SAP Inbox and Portal after the task execution , so that based on the decision taken , I can process the action at the same place.
    Advance thanks for your response.
    regards,
    Sabari Prabhu.

    Hello,
    Unfortunately, that I know, there is no way to call your BAPI if you're using the standard decision JavaWD. In fact all that WD does is calling a WAPI to read the decision alternatives and then once the user has taken his decision it calls another WAPI to feedback the decision into the backend.
    The blog mentionned by Pavan concerns only the secondary methods with amodal call, this is different from the before and after methods which are not supported and cannot help you for calling your BAPI. The so-called "Program exits" are not supported either.
    The only alternatives I can see for you are:
    - Develop your own decision screen specific for your workflow and integrate there your BAPI call. This would also give you more flexibility to show your agents the information they need to take their decision. This is the way I usually go for now.
    - Change your UWL settings so that decisions are processed in a GUI screen instead of the JAVA WD screen. The main disadvantage is that you can do this either for all decision or for none of them. You can't just set that up for the decision in your specific workflow (or at least I haven't found how to do it).
    To change the way decisons are processed in UWL you must first change the parameter "List of preview sections to hide" in your UWL iView to add value USERDECISION.
    Then you must create a custom XML config file (or modify an existing one) in which you must customize each decision task used in your company individualy. To do that just take a standard config file and find the Item type entry for a standard decision task as an example. All you have to do is to recreate the same entry for each of the decision tasks you actually use and replace the defaultAction="viewDetail" parameter by defaultAction="launchSAPAction".
    Cheers,
    Patrick

  • Not able to view the User Decisions Buttons in UWL

    Hi Experts,
    We have configured the UWL for the WI execution. Now the Problem is I am not able to view the User Decisions Step buttons in UWL instead when I select the User Decision Step it is opening in SAP GUI there I am able to view the SBWP WI decisions screen.
    But I need those buttons in UWL instead logging in SAP. CurrentlyI am able to see "Open Task", "Resubmit", "Forward" & "Assign to Me" buttons but similarly I want to display the User Decisions Buttons as well. Please let me know o how to achieve this requirement.
    Thanks in advance.
    Regards,
    Srinivas

    Hi Viji,
    I am sorry if it got confused I have copied the standard BO and done the enhancement to the DECISION method as per my requirement and now when I give this task in UWL it does not show up the buttons in Portal instead upon opening the work item it will open a SAP GUI and there it will show up the USER decision details similar to the things in the SBWP transaction. Instead I have seen some cases where it had shown the User Decision buttons in the Portal itself.
    Let me know if you have any idea on this.
    Regards,
    SRinivas

  • UWL : New tasks are not getting populated in the UWL

    Hi Experts,
        I<b> configured my uwl to my backend system , the completed tasks are getting populated in the UWL but the New tasks and in progress tasks are not getting populated in the UWL.(some thing strange).</b>
    When  i am trying to configure the universal  worklist system ,its givin me a caution message as  <b>System SHDCLNT012 does not support optimized delta pull</b> . where SHDCLNT012 is the system alias name.
    Is this the problem for not populating the new tasks in the UWL?
    Please provide me  the solution..
    Thanks & Regards,
    Sateesh

    Hi Sateesh,
    This message will appear if either the background jobs are not scheduled, or UWL cannot tell that the background jobs are scheduled. The message no longer appears once you ensure the background jobs are scheduled to run via the user id UWL_SERVICE and that user is mapped to my portal user ID UWL_SERVICE.
    Kai

  • Not able to open "requested end" in user decision task.

    Hi All,
    In the user decision task, i have specified the value as +5 day in the "requested end" tab. When i executes the WF, and checks in the workflow log of work item, it shows that user decision step as logical deleted. I open that step on developement server, there value is fine as +5 day, then i tried to open that step on quality server where i am testing, when i clicks on that tab button it displays an error message at bottom of the screen "No Unit with the desired conversion factor is maintained", and with in 1 seconds it came out to initial screen of SAP.
    I checked the TR, it is imported correctly.
    where can be the issue then ? why i am not able to click on that tab in that user decision task, its very strange, i faced this kind of issue first time.
    if you have any idea about that why it is happening then please reply.
    Regards,
    Raman.

    Check SWU3 is properly maintained in your quality server.
    Thanks
    Arghadip

  • Workflow task  TS00008267 ("generic decision task") not exist

    Dears,
        i could not find the task TS00008267 ("generic decision task") and then i can not activate the 'Classify Decision Task as General ' in SWU3.
       any method to restore the task 'TS00008267' in my client?
    BR.

    Hello,
    As Ketjil and Mikko have suggested if yuo cannot see the task then it is an authorization issue ot the task has been deleted or never delivered.
    If you find that all tasks are missing and not just TS00008267 then it is most likely an authorisation issue. Run transaction
    SU53 to see what authorisation objects your user is missing. It is related to Org Management authorisations.
    If you have to transport it try transaction SE01 (Transport Organiser) it is possible to transport from system to system. Just click on Create button and then select 'Transport of copies'. Then just enter you target system and save. You can then add the
    objects you wish to transport to your Target system.
    Example:=============================
    R3TR PDTS 00008267
    In SE01, click Create => Transport of copies
      => Name the request and save
           => Click 'Include Objects' button and choose 'Freely selected
              objects'.
                =>Enter the Development class SWD and click 'Selected
                  Objects'. F4 at the bottom of the list (Under the DTEL
                  entry) and select the entry "R3TR PDTS" and click OK.
                  Now enter the task ID 00008267 in the dialog box
                  opposite it and click the checkbox (See attached screen
                  shot) and then click the Execute button.
                    => Expland the list and goto the task
                         => Select 00008267 and click the "Save In Request"
                            button.
    You can do this with any standard tasks you want to transport to your system.
    Hope this helps.
    Regards,
    Eddie

  • Issue with User decision handler in UWL

    Hi Friends,
      I am facing an issue with user decision hander in UWL. We have modified the XML file to show up the comments box to enter the rejection reason, this is working fine with two approval tasks already but the same thing is not working now with a new task id. In the back end(R/3) everything is the same for both the tasks, in the Portal side my portal consultant says the same. But we were not able to figure out the issue. I even created a new task and tried to use implement the handler changes, but still it is not working. Please advice what could be the issue

    Hi,
    can you elaborate what the issue, what do you mean by not working. you are not getting the reason box, or it's giving error,something like that.
    Hope we'll be more clear then about your requirement.
    venu

  • Best approach to attach note to decision via extended notifications?

    Hi,
    I'm looking for advice as to the best approach to handle this requirement. We are using extended notifications to deliver a user decision task to users' Outlook inbox. Users want to be able to attach a note after they select one of the decision links in the email. Currently if they click any option, they just get the standard page that says "Work item executed with decision option (whatever)".  There is no feature in that page for attaching a note.
    We want to keep this as simple as possible from the users' standpoint. Currently these users are not using the UWL, and they don't use SAPGUI very much.  The need to attach a note will be infrequent, so the procedure needs to be obvious and simple, or the feature won't be useful. 
    The SAP system is ECC 6.0 with Netweaver 7.01. The immediate application is purchase requisition rejection (we want to be able to attach a note when rejecting), but I am hoping for a generic solution.
    I'm thinking we have to create a substitute page that gets called when the link gets clicked. Will that work? But is there an easier way?
    Your thoughts?
    Thanks,
    Margaret

    Just use the pen tool (p) and set the type to shape. The achor points can be selected with the direct select tool (a).

  • 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

  • EP7 - decision tasks and comments

    Hi!
    I've to implement a user decision task, but where it schould be possible to enter a comment regarding the decision.
    The standard-decision task doesn't support this functionality - isn't it?
    Does anybody solved such a problem?
    Thank you for any hints!
    Kind regards!
    Peter

    Hi Paramita,
    Ok well you are on the right release but please do check your support pack for portal and your ECC system as well.  You need to be on at least SP8 for both
    Because then the answer is simple - just use the User Decision Handler option - User Decision with Note in the UWL config.
    You'll find the description in the NW04s UWL configuration guide
    http://help.sap.com/saphelp_nw04s/helpdata/en/39/a1bb5c4c0d4ab4a417e87ef35f1efa/frameset.htm
    Look in Universal Worklist Configuration > Advanced Configuration > Task Launch Customization > Action Handlers > User Decision Handler
    for samples and explanations of how to do this.
    Also do search the forum for posts on user decisions as this topic has come up before.
    Regards,
    Jocelyn

Maybe you are looking for