<html xmlns:v="urn:schemas-microsoft-com:vml" xmlns:o="urn:schemas-microsoft-com:office:office" xmlns:w="urn:schemas-microsoft-com:office:word" xmlns:m="http://schemas.microsoft.com/office/2004/12/omml" xmlns="http://www.w3.org/TR/REC-html40"><head><meta http-equiv=Content-Type content="text/html; charset=utf-8"><meta name=Generator content="Microsoft Word 12 (filtered medium)"><style><!--
/* Font Definitions */
@font-face
        {font-family:"Cambria Math";
        panose-1:2 4 5 3 5 4 6 3 2 4;}
@font-face
        {font-family:Calibri;
        panose-1:2 15 5 2 2 2 4 3 2 4;}
@font-face
        {font-family:Tahoma;
        panose-1:2 11 6 4 3 5 4 4 2 4;}
/* Style Definitions */
p.MsoNormal, li.MsoNormal, div.MsoNormal
        {margin:0cm;
        margin-bottom:.0001pt;
        font-size:12.0pt;
        font-family:"Times New Roman","serif";}
a:link, span.MsoHyperlink
        {mso-style-priority:99;
        color:blue;
        text-decoration:underline;}
a:visited, span.MsoHyperlinkFollowed
        {mso-style-priority:99;
        color:purple;
        text-decoration:underline;}
p.yiv1557158285msolistparagraph, li.yiv1557158285msolistparagraph, div.yiv1557158285msolistparagraph
        {mso-style-name:yiv1557158285msolistparagraph;
        mso-margin-top-alt:auto;
        margin-right:0cm;
        mso-margin-bottom-alt:auto;
        margin-left:0cm;
        font-size:12.0pt;
        font-family:"Times New Roman","serif";}
p.yiv1557158285msonormal, li.yiv1557158285msonormal, div.yiv1557158285msonormal
        {mso-style-name:yiv1557158285msonormal;
        mso-margin-top-alt:auto;
        margin-right:0cm;
        mso-margin-bottom-alt:auto;
        margin-left:0cm;
        font-size:12.0pt;
        font-family:"Times New Roman","serif";}
span.yiv1557158285msohyperlink
        {mso-style-name:yiv1557158285msohyperlink;}
span.yiv1557158285msohyperlinkfollowed
        {mso-style-name:yiv1557158285msohyperlinkfollowed;}
span.yiv1557158285emailstyle18
        {mso-style-name:yiv1557158285emailstyle18;}
p.yiv1557158285msonormal1, li.yiv1557158285msonormal1, div.yiv1557158285msonormal1
        {mso-style-name:yiv1557158285msonormal1;
        margin:0cm;
        margin-bottom:.0001pt;
        font-size:12.0pt;
        font-family:"Times New Roman","serif";}
span.yiv1557158285msohyperlink1
        {mso-style-name:yiv1557158285msohyperlink1;
        color:blue;
        text-decoration:underline;}
span.yiv1557158285msohyperlinkfollowed1
        {mso-style-name:yiv1557158285msohyperlinkfollowed1;
        color:purple;
        text-decoration:underline;}
p.yiv1557158285msolistparagraph1, li.yiv1557158285msolistparagraph1, div.yiv1557158285msolistparagraph1
        {mso-style-name:yiv1557158285msolistparagraph1;
        margin-top:0cm;
        margin-right:0cm;
        margin-bottom:0cm;
        margin-left:36.0pt;
        margin-bottom:.0001pt;
        font-size:12.0pt;
        font-family:"Times New Roman","serif";}
span.yiv1557158285emailstyle181
        {mso-style-name:yiv1557158285emailstyle181;
        font-family:"Arial","sans-serif";
        color:#1F497D;}
span.EmailStyle28
        {mso-style-type:personal-reply;
        font-family:"Calibri","sans-serif";
        color:#1F497D;}
.MsoChpDefault
        {mso-style-type:export-only;}
@page WordSection1
        {size:612.0pt 792.0pt;
        margin:72.0pt 72.0pt 72.0pt 72.0pt;}
div.WordSection1
        {page:WordSection1;}
--></style><!--[if gte mso 9]><xml>
<o:shapedefaults v:ext="edit" spidmax="1026" />
</xml><![endif]--><!--[if gte mso 9]><xml>
<o:shapelayout v:ext="edit">
<o:idmap v:ext="edit" data="1" />
</o:shapelayout></xml><![endif]--></head><body lang=EN-AU link=blue vlink=purple><div class=WordSection1><p class=MsoNormal><span style='font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1F497D'>Hi Baba, <o:p></o:p></span></p><p class=MsoNormal><span style='font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1F497D'>It still doesn’t sound like you have extracted the actual URL that has been generated in the email?<o:p></o:p></span></p><p class=MsoNormal><span style='font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1F497D'>You should be able to see in the URL itself in the actual email whether or not the value is there.   Maybe try right clicking on it in the generated mail itself and using Edit Hyperlink or similar to get to the URL. <o:p></o:p></span></p><p class=MsoNormal><span style='font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1F497D'><o:p>&nbsp;</o:p></span></p><p class=MsoNormal><span style='font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1F497D'>Also if you are using item.RequestId there should be a CustomAttributes tag for Request Id in the ItemType tag that matches your task in your UWL configuration file. <o:p></o:p></span></p><p class=MsoNormal><span style='font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1F497D'>Otherwise the UWL won’t know how to source the value for RequestId.  <o:p></o:p></span></p><p class=MsoNormal><span style='font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1F497D'>Regards,<o:p></o:p></span></p><p class=MsoNormal><span style='font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1F497D'>Jocelyn <o:p></o:p></span></p><p class=MsoNormal><span style='font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1F497D'><o:p>&nbsp;</o:p></span></p><p class=MsoNormal><span style='font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1F497D'><o:p>&nbsp;</o:p></span></p><div style='border:none;border-top:solid #B5C4DF 1.0pt;padding:3.0pt 0cm 0cm 0cm'><p class=MsoNormal><b><span lang=EN-US style='font-size:10.0pt;font-family:"Tahoma","sans-serif"'>From:</span></b><span lang=EN-US style='font-size:10.0pt;font-family:"Tahoma","sans-serif"'> sap-wug-bounces@mit.edu [mailto:sap-wug-bounces@mit.edu] <b>On Behalf Of </b>Baba Jammi<br><b>Sent:</b> Tuesday, 22 November 2011 1:05 PM<br><b>To:</b> SAP Workflow Users' Group<br><b>Subject:</b> RE: Invalid WDA item link generated from Extended Notifications<o:p></o:p></span></p></div><p class=MsoNormal><o:p>&nbsp;</o:p></p><table class=MsoNormalTable border=0 cellspacing=0 cellpadding=0><tr><td valign=top style='padding:0cm 0cm 0cm 0cm'><div><p class=MsoNormal>Jocelyn,<o:p></o:p></p></div><div><p class=MsoNormal>&nbsp;<o:p></o:p></p></div><div><p class=MsoNormal>Thank you for you response. <o:p></o:p></p></div><div><p class=MsoNormal>&nbsp;<o:p></o:p></p></div><div><p class=MsoNormal>1. Yes, I did confirm the URL by executing WDA from SE80.<o:p></o:p></p></div><div><p class=MsoNormal>2. I did confirm there are no double // after webdynpro.<o:p></o:p></p></div><div><p class=MsoNormal>3. Can you please tell me little more, how can I confirm item.Requestid is returning a value in the URL? When I click the URL, i do get an JAVA SCRIPT error, nothing else happens.&nbsp; To me it looks like a dummy URL. <o:p></o:p></p></div><div><p class=MsoNormal>What attributes do I need to check in the custom task?<o:p></o:p></p></div><div><p class=MsoNormal>&nbsp;<o:p></o:p></p></div><div><p class=MsoNormal>Thank you,<o:p></o:p></p></div><div><p class=MsoNormal>Baba<br><br>--- On <b>Mon, 11/21/11, Dart, Jocelyn <i>&lt;jocelyn.dart@sap.com&gt;</i></b> wrote:<o:p></o:p></p></div><blockquote style='border:none;border-left:solid #1010FF 1.5pt;padding:0cm 0cm 0cm 4.0pt;margin-left:3.75pt;margin-top:5.0pt;margin-bottom:5.0pt'><p class=MsoNormal style='margin-bottom:12.0pt'><br>From: Dart, Jocelyn &lt;jocelyn.dart@sap.com&gt;<br>Subject: RE: Invalid WDA item link generated from Extended Notifications<br>To: &quot;SAP Workflow Users' Group&quot; &lt;sap-wug@mit.edu&gt;<br>Date: Monday, November 21, 2011, 5:23 PM<o:p></o:p></p><div id=yiv1557158285><div><div><p class=yiv1557158285msonormal><span style='font-size:11.0pt;font-family:"Arial","sans-serif";color:#1F497D'>Hi Baba, </span><o:p></o:p></p></div><p class=yiv1557158285msonormal><span style='font-size:11.0pt;font-family:"Arial","sans-serif";color:#1F497D'>First get the <u>exact</u> URL that has been generated – e.g. by clicking on it and seeing what comes up in the web browser.</span><o:p></o:p></p></div><p class=yiv1557158285msonormal><span style='font-size:11.0pt;font-family:"Arial","sans-serif";color:#1F497D'>Check:</span><o:p></o:p></p></div><p class=yiv1557158285msolistparagraph><span style='font-size:11.0pt;font-family:"Arial","sans-serif";color:#1F497D'>1.</span><span style='font-size:7.0pt;color:#1F497D'>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; </span><span style='font-size:11.0pt;font-family:"Arial","sans-serif";color:#1F497D'>Host and port are correct for your WDA system.... if in doubt, try testing the WDA from SE80 – that should generate an equivalent URL to check against. </span><o:p></o:p></p></blockquote><p class=yiv1557158285msolistparagraph><span style='font-size:11.0pt;font-family:"Arial","sans-serif";color:#1F497D'>2.</span><span style='font-size:7.0pt;color:#1F497D'>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; </span><span style='font-size:11.0pt;font-family:"Arial","sans-serif";color:#1F497D'>Check you don’t have a double slash // in the URL after webdynpro ... you might need to remove that last slash. </span><o:p></o:p></p><p class=yiv1557158285msolistparagraph><span style='font-size:11.0pt;font-family:"Arial","sans-serif";color:#1F497D'>3.</span><span style='font-size:7.0pt;color:#1F497D'>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; </span><span style='font-size:11.0pt;font-family:"Arial","sans-serif";color:#1F497D'>Check item.REQUESTID is returning a value in the URL that has been generated.&nbsp; If not you might need to fix your config of the custom attributes of the task. </span><o:p></o:p></p><p class=yiv1557158285msonormal><span style='font-size:11.0pt;font-family:"Arial","sans-serif";color:#1F497D'>&nbsp;</span><o:p></o:p></p><p class=yiv1557158285msonormal><span style='font-size:11.0pt;font-family:"Arial","sans-serif";color:#1F497D'>Regards,</span><o:p></o:p></p><p class=yiv1557158285msonormal><span style='font-size:11.0pt;font-family:"Arial","sans-serif";color:#1F497D'>Jocelyn </span><o:p></o:p></p><p class=yiv1557158285msonormal><span style='font-size:11.0pt;font-family:"Arial","sans-serif";color:#1F497D'>&nbsp;</span><o:p></o:p></p><p class=yiv1557158285msonormal><span style='font-size:11.0pt;font-family:"Arial","sans-serif";color:#1F497D'>&nbsp;</span><o:p></o:p></p><div style='border:none;border-top:solid #B5C4DF 1.0pt;padding:3.0pt 0cm 0cm 0cm'><p class=yiv1557158285msonormal><b><span lang=EN-US style='font-size:10.0pt;font-family:"Arial","sans-serif"'>From:</span></b><span lang=EN-US style='font-size:10.0pt;font-family:"Arial","sans-serif"'> sap-wug-bounces@mit.edu [mailto:sap-wug-bounces@mit.edu] <b>On Behalf Of </b>Baba Jammi<br><b>Sent:</b> Tuesday, 22 November 2011 9:28 AM<br><b>To:</b> SAP Workflow Users' Group<br><b>Subject:</b> Invalid WDA item link generated from Extended Notifications</span><o:p></o:p></p></div><p class=yiv1557158285msonormal>&nbsp;<o:p></o:p></p><table class=MsoNormalTable border=0 cellspacing=0 cellpadding=0><tr><td valign=top style='padding:0cm 0cm 0cm 0cm'><blockquote style='border:none;border-left:solid #1010FF 1.5pt;padding:0cm 0cm 0cm 4.0pt;margin-left:3.75pt;margin-top:5.0pt;margin-bottom:5.0pt'><div><p class=yiv1557158285msonormal>I trying to launch WDA item for Leave Request EHP5 thru extended notifications link in outlook email.<o:p></o:p></p></div></blockquote><div><p class=yiv1557158285msonormal>&nbsp;<o:p></o:p></p></div><div><p class=yiv1557158285msonormal>SWN_SELSEN does cerate a link in the email as <o:p></o:p></p></div><div><p class=yiv1557158285msonormal>&nbsp;<o:p></o:p></p></div><div><p class=yiv1557158285msonormal><strong>&quot;Execute Work Item: Invalid Link (SWN155)&quot;. </strong><o:p></o:p></p></div><div><p class=yiv1557158285msonormal><br>Below some information about configuration I have done.<o:p></o:p></p></div><div><p class=yiv1557158285msonormal><br>I have maintained WD_HOST as <a href="http://---.---.com:1081/sap/bc/webdynpro/" target="_blank">http://---.---.com:1081/sap/bc/webdynpro/</a> as suggested by earlier posts.<o:p></o:p></p></div><div><p class=yiv1557158285msonormal>&nbsp;<o:p></o:p></p></div><div><p class=yiv1557158285msonormal>Below workflow configuration has been done in SWFVISU for the Leave Request Approval task.<o:p></o:p></p></div><div><p class=yiv1557158285msonormal>&nbsp;<o:p></o:p></p></div><div><p class=yiv1557158285msonormal>APPLICATION#HRESS_A_PTARQ_LEAVREQ_APPL<br>DYNPARAM#LRF_REQUEST_ID=${item.REQUESTID} <o:p></o:p></p></div><div><p class=yiv1557158285msonormal><br>Appreciate if someone can suggest what else configuration I am missing.<o:p></o:p></p></div><div><p class=yiv1557158285msonormal>&nbsp;<o:p></o:p></p></div><div><p class=yiv1557158285msonormal>Thank you,<br>Baba Jammi<o:p></o:p></p></div><div><p class=yiv1557158285msonormal>SAP Workflow Consultant<o:p></o:p></p></div><div><p class=yiv1557158285msonormal>Aramco Services Company<o:p></o:p></p></div><div><p class=yiv1557158285msonormal>9009 Westloop S<o:p></o:p></p></div><div><p class=yiv1557158285msonormal>Houston, TX<o:p></o:p></p></div></td></tr></table><p class=yiv1557158285msonormal><span style='font-size:10.0pt;font-family:"Arial","sans-serif"'>&nbsp;</span><o:p></o:p></p><p class=MsoNormal style='margin-bottom:12.0pt'><br>-----Inline Attachment Follows-----<o:p></o:p></p><div><p class=MsoNormal>_______________________________________________<br>SAP-WUG mailing list<br><a href="http://us.mc1117.mail.yahoo.com/mc/compose?to=SAP-WUG@mit.edu">SAP-WUG@mit.edu</a><br><a href="http://mailman.mit.edu/mailman/listinfo/sap-wug" target="_blank">http://mailman.mit.edu/mailman/listinfo/sap-wug</a><o:p></o:p></p></div></td></tr></table><p class=MsoNormal><span style='font-size:10.0pt;font-family:"Calibri","sans-serif"'><o:p>&nbsp;</o:p></span></p></div></body></html>