<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
<HTML><HEAD>
<META http-equiv=Content-Type content="text/html; charset=us-ascii">
<STYLE>.hmmessage P {
        PADDING-RIGHT: 0px; PADDING-LEFT: 0px; PADDING-BOTTOM: 0px; MARGIN: 0px; PADDING-TOP: 0px
}
BODY.hmmessage {
        FONT-SIZE: 10pt; FONT-FAMILY: Verdana
}
</STYLE>

<META content="MSHTML 6.00.6000.16788" name=GENERATOR></HEAD>
<BODY class=hmmessage>
<DIV dir=ltr align=left><SPAN class=307002202-18022009><FONT face=Arial 
color=#0000ff>Hi Tor, </FONT></SPAN></DIV>
<DIV dir=ltr align=left><SPAN class=307002202-18022009><FONT face=Arial 
color=#0000ff>Ok well... there are some UWL Wizards that help you create XML 
config files if you haven't done it before - suggest you refer to the Darren 
Hague sap-press book for those.</FONT></SPAN></DIV>
<DIV dir=ltr align=left><SPAN class=307002202-18022009><FONT face=Arial 
color=#0000ff></FONT></SPAN>&nbsp;</DIV>
<DIV dir=ltr align=left><SPAN class=307002202-18022009><FONT face=Arial 
color=#0000ff>What you need for this is to create your own UWL XML config delta 
file to override the standard XML config for your task. </FONT></SPAN></DIV>
<DIV dir=ltr align=left><SPAN class=307002202-18022009><FONT face=Arial 
color=#0000ff>Essentially you need an ItemType tag for your task, and within it 
add Action tags using the UserDecisionHandler options that call whatever you 
need to close off the work item.&nbsp;&nbsp; There are a number of different 
handlers that you could use - e.g. a FunctionModuleHandler, TransactionHandler, 
WebDynpro handlers, etc. </FONT></SPAN></DIV>
<DIV dir=ltr align=left><SPAN class=307002202-18022009><FONT face=Arial 
color=#0000ff></FONT></SPAN>&nbsp;</DIV>
<DIV dir=ltr align=left><SPAN class=307002202-18022009><FONT face=Arial 
color=#0000ff>Darren's book gives the basic process for working with XML config 
files, but you should read the SAP Library Help on advanced uwl configuration to 
understand the handler options.</FONT></SPAN></DIV>
<DIV dir=ltr align=left><SPAN class=307002202-18022009><FONT face=Arial 
color=#0000ff></FONT></SPAN>&nbsp;</DIV>
<DIV dir=ltr align=left><SPAN class=307002202-18022009><FONT face=Arial 
color=#0000ff>And above all look at the existing generated UWL config files - 
they are always your guide.&nbsp; e.g. uwl.standard gives several examples of 
different action tags, uwl.webflow.&lt;yoursystemalias&gt; will show the basic 
ItemType tag for your task. </FONT></SPAN></DIV>
<DIV dir=ltr align=left><SPAN class=307002202-18022009><FONT face=Arial 
color=#0000ff></FONT></SPAN>&nbsp;</DIV>
<DIV dir=ltr align=left><SPAN class=307002202-18022009><FONT face=Arial 
color=#0000ff>You do need to have a separate task for the config - so if you are 
using the standard SAP provided user decision task use the Copy with Template 
feature on the Control tab of the workflow step to create your own task for 
this. </FONT></SPAN></DIV>
<DIV dir=ltr align=left><SPAN class=307002202-18022009><FONT face=Arial 
color=#0000ff></FONT></SPAN>&nbsp;</DIV>
<DIV dir=ltr align=left><SPAN class=307002202-18022009><FONT face=Arial 
color=#0000ff>Regards,</FONT></SPAN></DIV>
<DIV dir=ltr align=left><SPAN class=307002202-18022009><FONT face=Arial 
color=#0000ff>Jocelyn </FONT></SPAN></DIV><BR>
<DIV class=OutlookMessageHeader lang=en-us dir=ltr align=left>
<HR tabIndex=-1>
<FONT face=Tahoma><B>From:</B> sap-wug-bounces@mit.edu 
[mailto:sap-wug-bounces@mit.edu] <B>On Behalf Of </B>Tor Magne 
Refsland<BR><B>Sent:</B> Tuesday, 17 February 2009 8:51 PM<BR><B>To:</B> SAP WUG 
list<BR><B>Subject:</B> [LIKELY JUNK]RE: [LIKELY JUNK]Workaround - "advance in 
dialog" in UWL.<BR></FONT><BR></DIV>
<DIV></DIV>Hi Jocelyn,<BR>&nbsp;<BR>Thanks for your 
answer.<BR>&nbsp;<BR>I&nbsp;do not have so extensive knowledge as yourself, so I 
would gladly appreciate&nbsp;if you could explain more in details how this is 
done.<BR>&nbsp;<BR>Thanks in advance.<BR>&nbsp;<BR>Best 
regards,<BR>&nbsp;<BR>Tor<BR>&nbsp;<BR>
<HR id=stopSpelling>
Subject: RE: [LIKELY JUNK]Workaround - "advance in dialog" in UWL.<BR>Date: Thu, 
12 Feb 2009 06:48:19 +0800<BR>From: jocelyn.dart@sap.com<BR>To: 
sap-wug@mit.edu<BR><BR>
<STYLE>.ExternalClass .EC_hmmessage P {
        PADDING-RIGHT: 0px; PADDING-LEFT: 0px; PADDING-BOTTOM: 0px; PADDING-TOP: 0px
}
.ExternalClass BODY.EC_hmmessage {
        FONT-SIZE: 10pt; FONT-FAMILY: Verdana
}
</STYLE>

<DIV dir=ltr align=left><SPAN class=EC_054094722-11022009><FONT face=Arial 
color=#0000ff>Hi Tor, </FONT></SPAN></DIV>
<DIV dir=ltr align=left><SPAN class=EC_054094722-11022009><FONT face=Arial 
color=#0000ff>One option is to use&nbsp;a UWL XML configuration file to override 
the standard decision step actions with your own actions.&nbsp; Just make sure 
whatever you call either closes the workitem (e.g. by calling a WAPI) or sends 
an event which lets your workflow know that the workitem is 
obsolete.</FONT></SPAN></DIV>
<DIV dir=ltr align=left><SPAN class=EC_054094722-11022009><FONT face=Arial 
color=#0000ff>Regards,</FONT></SPAN></DIV>
<DIV dir=ltr align=left><SPAN class=EC_054094722-11022009><FONT face=Arial 
color=#0000ff>Jocleyn </FONT></SPAN></DIV><BR>
<DIV class=EC_OutlookMessageHeader lang=en-us dir=ltr align=left>
<HR>
<FONT face=Tahoma><B>From:</B> sap-wug-bounces@mit.edu 
[mailto:sap-wug-bounces@mit.edu] <B>On Behalf Of </B>Tor Magne 
Refsland<BR><B>Sent:</B> Wednesday, 11 February 2009 12:25 AM<BR><B>To:</B> SAP 
WUG list<BR><B>Subject:</B> [LIKELY JUNK]Workaround - "advance in dialog" in 
UWL.<BR></FONT><BR></DIV>
<DIV></DIV>
<DIV>
<P class=EC_MsoNormal><SPAN 
style="FONT-SIZE: 10pt; FONT-FAMILY: 'Tahoma','sans-serif'">Hi all.</SPAN></P>
<P class=EC_MsoNormal><SPAN 
style="FONT-SIZE: 10pt; FONT-FAMILY: 'Tahoma','sans-serif'"></SPAN>&nbsp;</P>
<P class=EC_MsoNormal><SPAN 
style="FONT-SIZE: 10pt; FONT-FAMILY: 'Tahoma','sans-serif'">My business case is 
as following:</SPAN></P></DIV>
<DIV>
<P class=EC_MsoNormal>&nbsp;</P></DIV>
<DIV>
<P class=EC_MsoNormal><SPAN 
style="FONT-SIZE: 10pt; FONT-FAMILY: 'Tahoma','sans-serif'">A user logs on to 
MSS, and will get a decision step as a workitem in his UWL.</SPAN></P></DIV>
<DIV>
<P class=EC_MsoNormal>&nbsp;</P></DIV>
<DIV>
<P class=EC_MsoNormal><STRONG><SPAN 
style="FONT-SIZE: 10pt; FONT-FAMILY: 'Tahoma','sans-serif'">STEP 
1:</SPAN></STRONG></P></DIV>
<DIV>
<P class=EC_MsoNormal><SPAN 
style="FONT-SIZE: 10pt; FONT-FAMILY: 'Tahoma','sans-serif'">The decision step 
will have 3 choices:</SPAN></P></DIV>
<DIV>
<P class=EC_MsoNormal><SPAN 
style="FONT-SIZE: 10pt; FONT-FAMILY: 'Tahoma','sans-serif'">1. Go to URL 
A</SPAN></P></DIV>
<DIV>
<P class=EC_MsoNormal><SPAN 
style="FONT-SIZE: 10pt; FONT-FAMILY: 'Tahoma','sans-serif'">2. Go to URL 
B</SPAN></P></DIV>
<DIV>
<P class=EC_MsoNormal><SPAN 
style="FONT-SIZE: 10pt; FONT-FAMILY: 'Tahoma','sans-serif'">3. 
Exit</SPAN></P></DIV>
<DIV>
<P class=EC_MsoNormal>&nbsp;</P></DIV>
<DIV>
<P class=EC_MsoNormal><SPAN 
style="FONT-SIZE: 10pt; FONT-FAMILY: 'Tahoma','sans-serif'">Choice 1 and 2 will 
be continued by another&nbsp;activity step (call_url). Call_url is&nbsp;a method 
which calls the FM Call_browser (displaying a certain URL in the 
browser).</SPAN></P></DIV>
<DIV>
<P class=EC_MsoNormal>&nbsp;</P></DIV>
<DIV>
<P class=EC_MsoNormal><STRONG><SPAN 
style="FONT-SIZE: 10pt; FONT-FAMILY: 'Tahoma','sans-serif'">STEP 
2:</SPAN></STRONG></P></DIV>
<DIV>
<P class=EC_MsoNormal><SPAN 
style="FONT-SIZE: 10pt; FONT-FAMILY: 'Tahoma','sans-serif'">When the user clicks 
on "Go to URL A", the system should launch the URL(call_url method is called) 
without having to open a new workitem called "Call URL".</SPAN></P></DIV>
<DIV>
<P class=EC_MsoNormal>&nbsp;</P></DIV>
<DIV>
<P class=EC_MsoNormal><SPAN 
style="FONT-SIZE: 10pt; FONT-FAMILY: 'Tahoma','sans-serif'">As you probaby know, 
UWL doesn`t support "synchonous dialog chain"&nbsp;/ "advance in 
dialog".</SPAN></P></DIV>
<DIV>
<P class=EC_MsoNormal>&nbsp;<SPAN 
style="FONT-SIZE: 10pt; FONT-FAMILY: 'Tahoma','sans-serif'">Secondary method 
(amodal method) is a workaround.</SPAN></P></DIV>
<DIV>
<P class=EC_MsoNormal>
<DIV>
<P class=EC_MsoNormal><SPAN 
style="FONT-SIZE: 10pt; FONT-FAMILY: 'Tahoma','sans-serif'"></SPAN></P></DIV>&nbsp; 
<BR></DIV>
<DIV>
<P class=EC_MsoNormal><SPAN 
style="FONT-SIZE: 10pt; FONT-FAMILY: 'Tahoma','sans-serif'">Question:</SPAN></P></DIV>
<DIV>
<P class=EC_MsoNormal><SPAN 
style="FONT-SIZE: 10pt; FONT-FAMILY: 'Tahoma','sans-serif'">The best solution 
would of course be, if there is a possibility to make step 1 continue directly 
to step 2 without having to go through another workitem (a seamless transition - 
like using "advance in dialog" in Business Managers Workplace).</SPAN></P></DIV>
<DIV>
<P class=EC_MsoNormal>How can this be done?</P></DIV>
<DIV>
<P class=EC_MsoNormal>&nbsp;</P></DIV>
<DIV>
<P class=EC_MsoNormal><SPAN 
style="FONT-SIZE: 10pt; FONT-FAMILY: 'Tahoma','sans-serif'">I would glady 
appreciate your input.</SPAN></P></DIV>
<DIV>
<P class=EC_MsoNormal>&nbsp;</P></DIV>
<DIV>
<P class=EC_MsoNormal><SPAN 
style="FONT-SIZE: 10pt; FONT-FAMILY: 'Tahoma','sans-serif'">Thanks in 
advance.</SPAN></P></DIV>
<DIV>
<P class=EC_MsoNormal>&nbsp;</P></DIV>
<DIV>
<P class=EC_MsoNormal><SPAN 
style="FONT-SIZE: 10pt; FONT-FAMILY: 'Tahoma','sans-serif'">Best 
regards,</SPAN></P></DIV>
<DIV>
<P class=EC_MsoNormal>&nbsp;</P></DIV>
<DIV>
<P class=EC_MsoNormal><SPAN 
style="FONT-SIZE: 10pt; FONT-FAMILY: 'Tahoma','sans-serif'">Tor</SPAN>&nbsp;</P></DIV><BR>
<HR>
See all the ways you can stay connected <A 
href="http://www.microsoft.com/windows/windowslive/default.aspx">to friends and 
family</A><BR>
<HR>
Invite your mail contacts to join your friends list with Windows Live Spaces. 
It's easy! <A 
href="http://spaces.live.com/spacesapi.aspx?wx_action=create&amp;wx_url=/friends.aspx&amp;mkt=en-us" 
target=_new>Try it!</A> </BODY></HTML>