<br><font size=2 face="sans-serif">Hi</font>
<br>
<br><font size=2 face="sans-serif">I have updated the same XML as it seems
you have in code below also emptied the cache and personalisation.</font>
<br>
<br><font size=2 face="sans-serif">When I go into the portal content and
down to the iViews and UWL, I have switched on the 'Support' option. From
here I can carry out a preview and I see from the support info that my
new xml is being used and specific reference to the decision task that
I have changed the xml for, and the new view being used. The preview shows
the changes ok.</font>
<br>
<br><font size=2 face="sans-serif">BUT</font>
<br>
<br><font size=2 face="sans-serif">When I go to the UWL, I see the old
standard view and none of my changes. I have obviously missed something,
is there somewhere else I need to make changes to?</font>
<br>
<br><font size=2 face="sans-serif">Thanks</font>
<br>
<br><font size=2 face="sans-serif">John</font>
<br>
<br><font size=2 face="sans-serif"><br>
<br>
CSC Computer Sciences Limited<br>
Registered Office: Royal Pavilion, Wellesley Road, Aldershot, Hampshire,
GU11 1PZ, UK<br>
Registered in England No: 0963578<br>
<br>
-------------------------------------------------------------------------------------------------------------------------------------------------------------------------<br>
This is a PRIVATE message. If you are not the intended recipient, please
delete without copying and kindly advise us by e-mail of the mistake in
delivery. <br>
NOTE: Regardless of content, this e-mail shall not operate to bind CSC
to any order or other contract unless pursuant to explicit written agreement
or government initiative expressly permitting the use of e-mail for such
purpose.<br>
-------------------------------------------------------------------------------------------------------------------------------------------------------------------------<br>
</font>
<br>
<br>
<br>
<table width=100%>
<tr valign=top>
<td width=40%><font size=1 face="sans-serif"><b>gm.duits@belastingdienst.nl</b>
</font>
<br><font size=1 face="sans-serif">Sent by: sap-wug-bounces@mit.edu</font>
<p><font size=1 face="sans-serif">24/07/2008 07:43</font>
<table border>
<tr valign=top>
<td bgcolor=white>
<div align=center><font size=1 face="sans-serif">Please respond to<br>
"SAP Workflow Users' Group" <sap-wug@mit.edu></font></div></table>
<br>
<td width=59%>
<table width=100%>
<tr valign=top>
<td>
<div align=right><font size=1 face="sans-serif">To</font></div>
<td><font size=1 face="sans-serif">"SAP Workflow Users' Group"
<sap-wug@mit.edu></font>
<tr valign=top>
<td>
<div align=right><font size=1 face="sans-serif">cc</font></div>
<td>
<tr valign=top>
<td>
<div align=right><font size=1 face="sans-serif">Subject</font></div>
<td><font size=1 face="sans-serif">Using custom attributes in the UWL</font></table>
<br>
<table>
<tr valign=top>
<td>
<td></table>
<br></table>
<br>
<br>
<br><font size=2><tt>Hello Mark,<br>
<br>
Thanks for the detailed answer.<br>
It works now.<br>
<br>
Kind regards,<br>
<br>
Maarten<br>
<br>
<br>
<br>
<br>
"Griffiths, Mark"
<br>
<mark.griffiths@s
<br>
ap.com>
Aan <br>
Verzonden door:
"SAP Workflow Users' Group"
<br>
sap-wug-bounces@m
<sap-wug@mit.edu>
<br>
it.edu
Cc <br>
<br>
Onderwerp <br>
23-07-2008 23:32
RE: Betr.: RE: Using custom <br>
attributes
in the UWL <br>
<br>
Antwoord a.u.b.
<br>
aan
<br>
"SAP Workflow
<br>
Users' Group"
<br>
<sap-wug@mit.edu>
<br>
<br>
<br>
<br>
<br>
<br>
<br>
Create a container element in the TS task (if you are using an SAP one<br>
you will need to copy it first and insert the copied task in your<br>
workflow)<br>
Bind to the element from the workflow (you may need to create a new<br>
Business object attribute to hold the object-key without splitting it<br>
between employee and trip number)<br>
Now the task holds the key to BUS2089<br>
In your XML, to read the object key you use CustomAttributeSource<br>
id='webflow_container' to populate a custom attribute<br>
Then once you have this value you can use it as in your code below, but<br>
the key is now in your custom attribute not the externalobjectid.<br>
<br>
Good Luck,<br>
<br>
<br>
Mark<br>
<br>
SAP UK<br>
<br>
-----Original Message-----<br>
From: sap-wug-bounces@mit.edu [mailto:sap-wug-bounces@mit.edu] On Behalf<br>
Of gm.duits@belastingdienst.nl<br>
Sent: 23 July 2008 11:02<br>
To: SAP Workflow Users' Group<br>
Subject: Betr.: RE: Using custom attributes in the UWL<br>
<br>
Hallo Mark,<br>
<br>
Thanks for the reply.<br>
Yes, it's correct i am using a user decision.<br>
About your solution.<br>
Could you tell me in more detail how to solve the problem. I am quite<br>
new<br>
to workflow.<br>
<br>
Thanks.<br>
<br>
Kind regards,<br>
<br>
Maarten<br>
<br>
<br>
<br>
<br>
<br>
"Griffiths, Mark"<br>
<br>
<mark.griffiths@s<br>
<br>
ap.com><br>
Aan<br>
Verzonden door:
"SAP Workflow Users' Group"<br>
<br>
sap-wug-bounces@m
<sap-wug@mit.edu><br>
<br>
it.edu<br>
Cc<br>
<br>
<br>
<br>
Onderwerp<br>
23-07-2008 11:37
RE: Using custom attributes in<br>
<br>
the
UWL<br>
<br>
<br>
<br>
Antwoord a.u.b.<br>
<br>
aan<br>
<br>
"SAP Workflow<br>
<br>
Users' Group"<br>
<br>
<sap-wug@mit.edu><br>
<br>
<br>
<br>
<br>
<br>
<br>
<br>
<br>
<br>
It looks like you are using a user decision?<br>
<br>
The problem is that externalOjectid holds the object key for the<br>
DECISION business object rather than BUS2089.<br>
<br>
I got round this by creating an container element on the task to
hold<br>
the BUS2089 object key. You read this first from the container, and then<br>
you can use value to read the ABAP_BOR attributes as you have done<br>
below.<br>
<br>
Regards,<br>
<br>
<br>
Mark<br>
<br>
SAP UK<br>
<br>
<br>
-----Original Message-----<br>
From: sap-wug-bounces@mit.edu [mailto:sap-wug-bounces@mit.edu] On Behalf<br>
Of gm.duits@belastingdienst.nl<br>
Sent: 23 July 2008 07:08<br>
To: sap-wug@mit.edu<br>
Subject: Using custom attributes in the UWL<br>
<br>
<br>
<br>
<br>
<br>
<br>
<br>
<br>
<br>
<br>
<br>
<br>
<br>
<br>
<br>
<br>
<br>
<br>
<br>
<br>
<br>
Hello,<br>
<br>
<br>
<br>
What i would like to do is to show some custom attributes as columns in<br>
<br>
the UWL. In my workitem the BOR object BUS2089 (TRIP) is present, so i<br>
<br>
thought to make use of the statement CustomAttributeSource<br>
id="ABAP_BOR"<br>
in my UWL xml file (see below). I would like to show the attributes<br>
<br>
BEGINDATE and TOTALCOSTS. After uploading the xml the columns are<br>
empty. I<br>
also make use of the CustomAttributeSouce id="WEBFLOW_CONTAINER"
and<br>
that<br>
column is displayed correctly.<br>
<br>
<br>
<br>
I will post a part of the UWL xml configuration.<br>
<br>
<ItemType name="uwl.task.webflow.decision.TS92200054" connector=<br>
<br>
"WebFlowConnector" defaultView="travel" defaultAction="launchTravelUwl"<br>
<br>
executionMode="default"><br>
<br>
<ItemTypeCriteria systemId="UWL_R3"
externalType="TS92200054"<br>
<br>
connector="WebFlowConnector"/><br>
<br>
<CustomAttributes><br>
<br>
<CustomAttributeSource id="ABAP_BOR"
objectIdHolder=<br>
<br>
"externalObjectId" objectType="BUS2089" cacheValidity="final"><br>
<br>
<Attribute name="BEGINDATE"
type="date"<br>
displayName="Begindatum<br>
reis"/><br>
<br>
<Attribute name="TOTALCOSTS"
type="double"<br>
displayName="Gedecl.<br>
bedrag"/><br>
<br>
</CustomAttributeSource><br>
<br>
<CustomAttributeSource id="WEBFLOW_CONTAINER"
objectIdHolder=<br>
<br>
"externalId" objectType="WebflowContainer" cacheValidity="final"><br>
<br>
<Attribute name="ReisschemaText"
type="string" displayName=<br>
<br>
"Reisschema"/><br>
<br>
</CustomAttributeSource><br>
<br>
</CustomAttributes><br>
<br>
<Actions><br>
<br>
<Action name="afkeuren" groupAction="no"
handler=<br>
<br>
"UserDecisionHandler"><br>
<br>
<Properties><br>
<br>
<Property name="UserDecisionNote"
value="mandatory"/><br>
<br>
<Property name="decisionKey"
value="2"/><br>
<br>
</Properties><br>
<br>
</Action><br>
<br>
<Action name="goedkeuren" groupAction="yes"
handler=<br>
<br>
"UserDecisionHandler"><br>
<br>
<Properties><br>
<br>
<Property name="UserDecisionNote"
value="true"/><br>
<br>
<br>
<br>
<Property name="decisionKey"
value="1"/><br>
<br>
</Properties><br>
<br>
</Action><br>
<br>
</Actions><br>
<br>
</ItemType><br>
<br>
<br>
<br>
The View xml part looks like:<br>
<br>
<br>
<br>
<View name="travel" selectionMode="SINGLESELECT"
width="98%"<br>
<br>
supportedItemTypes="uwl.task.webflow.decision.TS92200054"<br>
<br>
columnOrder="subject, BEGINDATE, TOTALCOSTS, ReisschemaText,<br>
approveCol"<br>
sortby="createdDate:descend" tableDesign="ALTERNATING"<br>
<br>
visibleRowCount="14" headerVisible="yes" queryRange="undefined"<br>
<br>
tableNavigationFooterVisible="yes" tableNavigationType="STANDARD"<br>
<br>
actionRef="" refresh="300" dueDateSevere="86400000"<br>
<br>
dueDateWarning="259200000" emphasizedItems="none"<br>
<br>
displayOnlyDefinedAttributes="no" dynamicCreationAllowed="no"<br>
<br>
actionPosition="bottom" referenceBundle="tasks"><br>
<br>
<DisplayAttributes><br>
<br>
<DisplayAttribute name="approveCol"
type="checkbox" width="10"<br>
<br>
sortable="no" format="default" actionRef="goedkeuren"
hAlign="center"<br>
<br>
vAlign="Baseline" maxTextWidth="0" headerVisible="yes"><br>
<br>
<Descriptions default="Goedkeuren"/><br>
<br>
</DisplayAttribute><br>
<br>
<DisplayAttribute name="subject"
type="string" width="10"<br>
<br>
sortable="yes" format="default" referenceBundle="subject"
hAlign="LEFT"<br>
<br>
vAlign="BASELINE" maxTextWidth="20" headerVisible="yes"/><br>
<br>
<DisplayAttribute name="BEGINDATE"
type="date" format="short"/><br>
<br>
<DisplayAttribute name="TOTALCOSTS"
type="double"/><br>
<br>
<DisplayAttribute name="ReisschemaText"
type="string" width=""<br>
<br>
maxTextWidth="20"><br>
<br>
<Descriptions default="Reisschema"/><br>
<br>
</DisplayAttribute><br>
<br>
</DisplayAttributes><br>
<br>
<Actions><br>
<br>
<Action reference="refresh"/><br>
<br>
<Action reference="submitUserDecisions"/><br>
<br>
<Action reference="launchMijnTaken"/><br>
<br>
<Action reference="UserDecisionNoteText"/><br>
<br>
</Actions><br>
<br>
</View><br>
<br>
<br>
<br>
<br>
<br>
I hope somebody can help me.<br>
<br>
<br>
<br>
Kind regards,<br>
<br>
<br>
<br>
Maarten.<br>
<br>
<br>
<br>
<br>
<br>
<br>
<br>
<br>
<br>
<br>
<br>
<br>
<br>
<br>
------------------------------------------------------------------------<br>
------<br>
De Belastingdienst gebruikt e-mail niet voor de uitwisseling van<br>
vertrouwelijke informatie met de burger of voor de bekendmaking van<br>
beslissingen. De Belastingdienst hanteert conventies voor het gebruik<br>
van e-mail. Deze zijn te vinden op www.belastingdienst.nl.<br>
========================================================================<br>
======<br>
<br>
_______________________________________________<br>
SAP-WUG mailing list<br>
SAP-WUG@mit.edu<br>
http://mailman.mit.edu/mailman/listinfo/sap-wug<br>
<br>
_______________________________________________<br>
SAP-WUG mailing list<br>
SAP-WUG@mit.edu<br>
http://mailman.mit.edu/mailman/listinfo/sap-wug<br>
<br>
<br>
<br>
<br>
------------------------------------------------------------------------<br>
------<br>
De Belastingdienst gebruikt e-mail niet voor de uitwisseling van<br>
vertrouwelijke informatie met de burger of voor de bekendmaking van<br>
beslissingen. De Belastingdienst hanteert conventies voor het gebruik<br>
van e-mail. Deze zijn te vinden op www.belastingdienst.nl.<br>
========================================================================<br>
======<br>
<br>
_______________________________________________<br>
SAP-WUG mailing list<br>
SAP-WUG@mit.edu<br>
http://mailman.mit.edu/mailman/listinfo/sap-wug<br>
<br>
_______________________________________________<br>
SAP-WUG mailing list<br>
SAP-WUG@mit.edu<br>
http://mailman.mit.edu/mailman/listinfo/sap-wug<br>
<br>
<br>
<br>
<br>
------------------------------------------------------------------------------<br>
De Belastingdienst gebruikt e-mail niet voor de uitwisseling van vertrouwelijke
informatie met de burger of voor de bekendmaking van beslissingen. De Belastingdienst
hanteert conventies voor het gebruik van e-mail. Deze zijn te vinden op
www.belastingdienst.nl.<br>
==============================================================================<br>
<br>
_______________________________________________<br>
SAP-WUG mailing list<br>
SAP-WUG@mit.edu<br>
http://mailman.mit.edu/mailman/listinfo/sap-wug<br>
</tt></font>
<br>