Skip to Content
0
Former Member
Nov 02, 2012 at 01:04 PM

UWL XML Config problem...

25 Views

Hi Experts

I have the following xml config for my UWL.

The problem I am having is that all attributes which are of type string, pull through their values correctly from the Workflow container, but the 'double' type attributes only pull through as value '0'.

Any idea whay this is happening? I have tried using different types, but nothing I change has any effect.

The container does contain values other than '0' when I look at the task in SBWP.

<ItemType name="uwl.task.webflow.decision.TS90000138" connector="WebFlowConnector" defaultView="Mass_approvals_and_RejectionsView1351074930366_2">
      <ItemTypeCriteria externalType="TS90000138" connector="WebFlowConnector"/>
      <CustomAttributes>
        <CustomAttributeSource id="ABAP_BOR" objectIdHolder="externalObjectId" objectType="BUS2009" cacheValidity="session">
          <Attribute name="NUMBER" type="string" displayName="Purchase Requisition Number"/>
          <Attribute name="DESCRIPTION" type="string" displayName="Description"/>
          <Attribute name="CREATEDBY" type="string" displayName="Created By"/>
          <Attribute name="QUANTITYREQUESTED" type="double" displayName="Quantity Requested"/>
          <Attribute name="VALUATIONPRICE" type="double" displayName="Price"/>
          <Attribute name="CURRENCYKEY" type="string" displayName="Currency"/>
          <Attribute name="TOTALVALUE" type="double" displayName="Total Value"/>
        </CustomAttributeSource>
      </CustomAttributes>
    </ItemType>

Thanks in advance

Anton Kruse