UWL configuration for decision step

Hi!
We are using the decision task for approving trips (TS200000118).
We've to add a decision note as described in this forum (UserDecisionNote).
How do I get the standard xml for this step to modify this.
I just found the entries in the uwl.webflow:
<ItemType name="uwl.task.webflow.decision.TS20000118.mandant086" connector="WebFlowConnector" defaultView="DefaultView" defaultAction="viewDetail" executionMode="default">
      <ItemTypeCriteria systemId="mandant086" externalType="TS20000118" connector="WebFlowConnector"/>
</ItemType>
Kind regards and thanks for any hints!
Peter

Hi Peter,
As you are already aware of UWL supports a property called UserDecisionNote for the UserDecisionHandler action and can configure the XML file of UWL for this.
For example:-
Can add the following in UWL xml configuration file. And then upload the xml file.
<ItemType name="uwl.task.webflow.decision.TS90100366.SAP_ECC_FINANCIALS.SAP_ECC_Financials" connector="WebFlowConnector" defaultView="DefaultView" defaultAction="viewDetail" executionMode="default">
<ItemTypeCriteria systemId="mandant086" externalType="TS20000118" connector="WebFlowConnector"/>
<Actions>
<Action name="send" groupAction="yes" handler="UserDecisionHandler" returnToDetailViewAllowed="yes" launchInNewWindow="no">
<Properties>
<Property name="decisionKey" value="1"/>
</Properties>
<Descriptions default="send"/>
</Action>
<Action name="reject" groupAction="yes" handler="UserDecisionHandler" returnToDetailViewAllowed="yes" launchInNewWindow="no">
<Properties>
<Property name="UserDecisionNote" value="true"/>
<Property name="decisionKey" value="2"/>
</Properties>
<Descriptions default="reject"/>
</Action>
</Actions>
</ItemType>
Please refer to [link|http://help.sap.com/saphelp_nw2004s/helpdata/en/7a/df014b037141ca9afc6433ed42b519/frameset.htm].
Thanks
Arun Singh

Similar Messages

  • UWL configuration for travel and leave

    Hi,
    Can anyone guide me on configuring leave and travel workflow and UWL connectors.
    We have deployed ESS/MSS .
    HR is configured in SAP ECC. Workflows are configured. I want to integrate to UWL.
    I am very new to UWL , so i need steps from start to end like connectors creation and RFC creations etc
    Thanking You,
    Jessi

    For a good overview I suggest you [Look at this|http://www.google.com.au/url?sa=t&source=web&cd=1&ved=0CBQQFjAA&url=https%3A%2F%2Fcw.sdn.sap.com%2Fcw%2Fservlet%2FJiveServlet%2Fdownload%2F113876-4-51769%2FTop10RecommendationsUWL.pdf&ei=lSe2TOeQIY-yvgOdkICTCQ&usg=AFQjCNGLZGdkgGlY6T3CZOtfiYTJEIvA-A&sig2=MbZCgJbLaXEkL4ihq-ZYBw]
    The help guide tells you how to do the basic configuration: http://help.sap.com/saphelp_nw70ehp1/helpdata/en/39/a1bb5c4c0d4ab4a417e87ef35f1efa/frameset.htm
    BRgds,
    Simon

  • UWL configuration for Federated Portals logging errors in defaultTrace

    Hi everyone,
    I've just finished configuring UWL for Guided Procedures on federated portals using the help provided in the links below:
    [https://www.sdn.sap.com/irj/scn/go/portal/prtroot/docs/library/uuid/904ca240-63bc-2a10-1c98-de81b6a045bf|https://www.sdn.sap.com/irj/scn/go/portal/prtroot/docs/library/uuid/904ca240-63bc-2a10-1c98-de81b6a045bf]
    [http://help.sap.com/saphelp_nw70/helpdata/EN/43/ef06a7860c7061e10000000a1553f6/content.htm|http://help.sap.com/saphelp_nw70/helpdata/EN/43/ef06a7860c7061e10000000a1553f6/content.htm]
    Everything is running very well except for the fact that exceptions for the GPsystem I created are showing up in the defaultTrace log. The message repeats itself several times:
    03/12/2009 , 15:56:12:234 , GPsystem    | ACCESS.ERROR        | null     |           | Permission=(com.sap.caf.eu.gp.model.permission.GPPermission GP.GET.WORKITEMS) , Error , /System/Security/Audit , com.sap.security.core.util.SecurityAudit , sap.com/cafeugpmodeleap , GPsystem
    These log traces repeat themselves so many times that they seem to be causing an unnecessary load on the system. Other that that, both the Guided Procedure and UWL are working perfectly. Does anyone have any idea as to why this might be happening?
    Thank you very much,
    Luis

    Hi
    UWL Configuration is not  proper so only this happening.
    Refer the [Link1|https://wiki.sdn.sap.com/wiki/x/IwBbAQ ] [Link2|https://www.sdn.sap.com/irj/scn/go/portal/prtroot/docs/library/uuid/a3461636-0301-0010-3787-978f5ac8bd45] [Link3|http://help.sap.com/saphelp_nwce10/helpdata/en/05/fe8ef669674991a4205666694b9c85/content.htm] .
    Regards,
    Surjith

  • Error in UWL configuration for MSS in portal..

    HI,
    I want to configure UWL in portal so that I can see/approve  leave in UWL in MSS. Please let me know how to configure the same.
    When I am trying to configure the UWL in system admin> system configuration> Univerasal Worklist Administration, under that i clicked in new button to add my R/3 system, in that popup i mentioned my system alias name of R/3 system and connector as Webflow connector and remaining field i kept as empty and i clicked on save button after that when i click on Register button OR Register item type for all system than I am getting the following error, please let me know what the  issue is ?
    Error is:
    Errors:
    System SandBoxCLNT300: Wed Mar 16 09:18:38 IST 2011
    (Connector) :com.sap.netweaver.bc.uwl.connect.ConnectorException:Wed Mar 16 09:18:38 IST 2011
    (Connector) :com.sap.portal.connectivity.destinations.PortalDestinationsServiceException:User is missing credentials for connecting to alias SandBoxCLNT300. Contact your system administrator.
    SandBoxCLNT300 is the system alias of system I have created for R/3. in that system object I am using logon ticket.
    Also when i try to test that system , SAP Web AS Connection  AND  ITS Connection connection are tested properly with green tick but the third parameter  Test Connection with Connector is failing and the error is
    Test Details:
    The test consists of the following steps:
    1. Retrieve the default alias of the system
    2. Check the connection to the backend application using the connector defined in this system object
      Results
    Retrieval of default alias successful
    Connection failed. Make sure that Single Sign-On is configured correctly
    Also the transaction iview i created using this system object is coming absolutely proper, than why Test Connection with Connector is failing , please let me know , might be UWL issue is related to this one..
    Thanks

    Please first let us know if you have done the configuration as per
    the Note 779075, Please do this and re register the work items and
    let us know.
    Make
    Check the configuration of SAP_WebDynpro_XSS
    Here is the help documentation:
    http://help.sap.com/saphelp_nw70/helpdata/en/92
    /a88931f2dd4631b9e8d530697d89c9/content.htm
    in regards to this parameter.
    IF the LeaveRequestApprover application is deployed on the SAP_Local
    System, you needed the system alias of SAP_LocalSystem in the
    Webdynpro Launch System value.  With this setting when the user
    manager clicks on the item, it will work fine.
    the system SAP_Webdynrpo_XSS should have maintained the WAS properties
    with the port of the portal. This is for normal working for
    Leave request
    "Mapping Logical Systems" in the following documentation:
    http://help.sap.com/SAPHELP_NW04S/helpdata/EN/2a/7a754297fdd142e10000000
    a1550b0/content.htm
    and the "sap-wd-arfc-useSys" bullet point in the following
    documentation:
    http://help.sap.com/saphelp_sm32/helpdata/en/f4/651741f163f023e10000000a
    155106/content.htm
    See in bold where it mentions that "The prerequisite for this is that,
    in addition to the default JCo connections, you created the new logical
    system name with the Web Dynpro Content Administrator and configured it
    for the required SAP system." Meaning that there needs to be a JCO
    Connection for "SAP_R3_SelfServiceGenerics_MetaData" since these are
    the default JCo connections. In this case I kindly ask that you create
    the default metadata and model JCO connections for
    SAP_R3_SelfServiceGenerics and see if that resolves the issue.

  • UWL Configuration for KM Resources

    We are creating XML documents in KM folders using custom PAR file based iViews.  These XML documents do go through approval process.  When a notification received by an approver in UWL, the link the task is opening XML document in browser.  Instead, our requirement is to open this document using another custom iView (that reads this XML document and displays the data in formatted HTML fields).  
    Please note that each KM folder stores different type of XML content.  Thus, all documents in the same folder should be opened with one specific iView.
    Is it possible do the above using standard configuration?  If so, please advice on how we do it?  Any documentation, guidance, info would be highly helpful.
    If configuration task is not possible, is it possible to do the same by any custom coding?  Please advise with additional info.
    Thanks

    Hi Leena,
    Could you please tell me how did you solve the issue.
    Regards,
    Ramesh

  • XML UWL Configuration for custom structure in container

    Dear UWL experts,
    We are adding a structure type: ZPRC_UWL_CUSTOM with 10 fields to a Workflow Task container and call it V_UWL_CUSTOM
    Inside the structure, there are several fields called, for example:
    V_OBJECT
    V_SUBJECT
    V_AUTHOR
    We have trying hard, but we cannot find a way to make reference to the V_OBJECT, V_SUBJECT and V_AUTHOR fields from the UWL XML.
    We tried things like:
    <CustomAttributeSource id="WEBFLOW_CONTAINER" objectIdHolder="externalId" objectType="WebflowContainer" cacheValidity="final">
              <Attribute name="V_UWL_CUSTOM" type="string" displayName="V_UWL_CUSTOM"/>
    </CustomAttributeSource>
    <CustomAttributeSource id="ABAP_BOR" objectIdHolder="V_UWL_CUSTOM" objectType="ZPRC_UWL_CUSTOM" cacheValidity="final">
              <Attribute name="V_OBJECT" type="string" displayName="Object Name"/>
    </CustomAttributeSource>
    Could you please help us here?
    Thanks and kind regards,
    Sergio Martinez
    Edited by: Siralos on Oct 31, 2011 3:38 PM

    Hi,
    I only can assume how things are in your system, but I hope that you have a container element V_UWL_CUSTOM in your workflow container. Then you are binding it to the task container V_UWL_CUSTOM, right?
    If the above is correct, then you need to create individual elements in your task container:
    V_OBJECT
    V_SUBJECT
    V_AUTHOR, etc.
    Do binding from workflow container to the task container:
    V_UWL_CUSTOM.V_OBJECT -> V_OBJECT
    V_UWL_CUSTOM.V_SUBJECT -> V_SUBJECT
    V_UWL_CUSTOM.V_AUTHOR -> V_AUTHOR
    Etc.
    If you cannot do the binding from workflow container (=you don't have the element in WF container because of some strange reason), then things get a bit more interesting...
    Regards,
    Karri

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

  • Terminating Event with Decision Step

    Hi,
    In our purchase requisition approval workflow, I need to have a decision step in which to prompt approver to either approve the req. or reject the requisition.  In this decision step, I need for it to have terminating events for "SIGNIFICANTLYCHANGED", "RELEASE", "REJECT" and "RESET".
    First, I copy the generic decision task 8267 to my my own custom decision task.  Then I added a BUS2009 in the container, releasecode and other needed elements.  In this custom decision task, I was able to add these terminating events that has been defined in the BUS2009.  I was able to setup binding, except the one binding
    Terminating Event  ->   Task
    &_EVT_OBJECT&      ->   &_WI_OBJECT_ID&
    Since the &_EVT_OBJECT& for the terminating event is BUS2009.  And the custom decision task &_WI_OBJECT_ID& is DECISION business object. They're incompatable business object.  So I replaced that binding with
    Terminating Event     ->  Task
    &_EVT_OBJECT&    ->   &PURCHASE_REQ&
    After all the configuration has been setup.  I created a new purchase requisition.  Upon the RELEASESTEPCREATED event, it create a custom decision workitem in my agent's inbox.  When I triggered the "RELEASE" event, it is however not terminating my custom decision workitem.  The workitem still sits in the agent's inbox waiting to be execute.
    Is it possible to setup terminating events for decision step?  Any kind of suggestions or inputs would be greatly appreciated.
    Thank you.
    Jennifer Tran
    System Analyst

    I will suggest you to create a fork with 2 parallel branch and 1 necessary branch. Put the approval step in 1 branch and the wait for Release step event in another branch in this way you can suffice your requirment.
    Thanks
    Arghadip

  • 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

  • User Decision step in UWL

    Hi,
    I have a 3 user decision steps in my Customised workflow which uses the task TS00008267. Each task has different decison text and outcome. When this is executed through UWl the outcome does not appear as they are in SBWP.
    Does this need and Portal Configuration?
    Thanks & Regards

    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

  • 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

  • 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

  • User Decision step- Upon reject, auto-popup text for reason

    In a user decision step, when the user clicks the reject button, open text for rejection reason within the workitem.
    i have done the following
    1) Create a new step
    2) Create a task based on SOFM.CREATE
    3) Binded  WIOBJECT_ID => (append table) ADHOCOBJECTS
    It works fine, when the user clicks the reject button a new work item with the reason for rejection lands in the user inbox, which when clicked brings up the doc.
    I want to make it seamless for the user where as soon as the reject button is clicked, the document <b>should open right away</b> without a new work item in the inbox
    Any help will be greatly appreciated

    Hi
    If you are using the portal/UWL then search the blogs for a solution otherwise give this a try, in your step definition for the 2 steps, go to the Details tab and tick 'Advance with dialog', this will work if you execute from the business workplace.
    Good Luck!
    Ravi

  • User decision step execution from UWL

    Hi,
         I copied the standard user decision step and added my own text in that task. My requirement is i have to  execute that step from UWL . i need to configure this task in SWFVISU, so that it will appear in UWL.  My question is what  are the parameters i need to maintain in swfvisu TXn . because this is not a webdynpro application or Bsp Application.

    Please check this SAP help [document|http://help.sap.com/erp2005_ehp_04/helpdata/EN/44/b7047434d91578e10000000a114a6b/content.htm]
    In SWFVISU the two mandatory parameters that you need to consider are
    APPLICATION -
    >  <application name>
    PAGE_ID     -
    > page1.htm/ default.htm.
    <ItemType name="uwl.task.webflow.TS<XXXXXXXX>.SAP_ECC" connector="WebFlowConnector" defaultView="DefaultView" defaultAction="launchBSP" executionMode="default">
          <ItemTypeCriteria systemId="SAP_ECC" externalType="<XXXXXXXX>." connector="WebFlowConnector"/>
          <Actions>
            <Action name="launchBSP" groupAction="" handler="SAPBSPLauncher" returnToDetailViewAllowed="yes" launchInNewWindow="yes" launchNewWindowFeatures="resizable=yes,scrollbars=yes,status=yes,toolbar=no,menubar=no,location=no,directories=no">
              <Properties>
                <Property name="CustomerNamespace" value="sap"/>
                <Property name="Namespace" value="sap"/>
                <Property name="Application" value="<app_name>"/>
                <Property name="PageId" value="page1.htm"/>  " case senitive
                <Property name="System" value="${item.systemId}"/>
                <Property name="display_order_priority" value="5"/>
              </Properties>
              <Descriptions default=""/>
            </Action>
          </Actions>
        </ItemType>

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

Maybe you are looking for