Hi,<br>Jocelyn, thanks for the answer. I managed to get the workflow working. <br><br>Below are the portal system configuration (System Admin - System Config - Portal Content - System) :  <br><ul><li>Web AS Host Name : &lt;domain&gt;:5XXXX</li>
<li>Web AS Path : /webdynpro/dispatcher</li></ul>Even though connection test for <span class="urTxtStd">SAP Web AS </span>failed, but the setting has served ESS/MSS very well. <br><br>In continuation of my below email, I have created an WD4A application, mapped TASK ID and WD4A, and register my UWL in the portal. <br>
<br>The issue comes when approver clicks on the workitem in his UWL. He got the following error message: &quot;The requested object does not exist&quot;. <br><br>I can understand the error comes because system try to call &quot;http://&lt;domain&gt;:5XXXX/webdynpro/dispatcher/WD4A Application&quot;, while my WD4A application resides at &quot;http://&lt;domain&gt;:8XXX/sap/bc/webdynpro/sap/WD4A Application&quot;.<br>
<br>If i change the portal configuration to &quot;http://&lt;domain&gt;:8XXX/sap/bc/webdynpro/sap/&quot;, the UWL will call WD4A Application correctly, but ESS/MSS doesn&#39;t work anymore. <br><br>I don&#39;t want to change the existing portal configuration. <br>
But how do i call my WD4A from my UWL ?
<br>Any idea what configuration that I miss ? or maybe alternative solution ?<br><br>Thanks in advance.  <br><br>Again, sorry for my silly questions.<br><br>Regards,<br><br><div class="gmail_quote">On Fri, Jun 3, 2011 at 8:46 AM, Dart, Jocelyn <span dir="ltr">&lt;<a href="mailto:jocelyn.dart@sap.com">jocelyn.dart@sap.com</a>&gt;</span> wrote:<br>
<blockquote class="gmail_quote" style="margin: 0pt 0pt 0pt 0.8ex; border-left: 1px solid rgb(204, 204, 204); padding-left: 1ex;"><div link="blue" vlink="purple" lang="EN-AU"><div><p class="MsoNormal"><span style="font-size: 11pt; color: rgb(31, 73, 125);">Hi Max, <u></u><u></u></span></p>
<p class="MsoNormal"><span style="font-size: 11pt; color: rgb(31, 73, 125);">You might want to take a look at workflow patterns generally...   <u></u><u></u></span></p><p class="MsoNormal"><span style="font-size: 11pt; color: rgb(31, 73, 125);"><u></u> <u></u></span></p>
<p class="MsoNormal"><span style="font-size: 11pt; color: rgb(31, 73, 125);">For 5. Usually a loop with a background step to check if there are more approvals to go, plus a background step to get the number of approvals.  That way if you add more levels or reduce levels later you are covered. <u></u><u></u></span></p>
<p class="MsoNormal"><span style="font-size: 11pt; color: rgb(31, 73, 125);"><u></u> <u></u></span></p><p class="MsoNormal"><span style="font-size: 11pt; color: rgb(31, 73, 125);">For 6. You want to think about using a subflow and raising an event in the subflow on rejection – the main flow responds to the rejection by restarting at wherever you need. <u></u><u></u></span></p>
<p class="MsoNormal"><span style="font-size: 11pt; color: rgb(31, 73, 125);"><u></u> <u></u></span></p><p class="MsoNormal"><span style="font-size: 11pt; color: rgb(31, 73, 125);">Re your statuses ... no we don’t usually bother with multiple approval statuses – you can always use a container element to keep your intermediate  status – but you need to think about what information the initiator needs to see to know where the approval is up to. <u></u><u></u></span></p>
<p class="MsoNormal"><span style="font-size: 11pt; color: rgb(31, 73, 125);"><u></u> <u></u></span></p><p class="MsoNormal"><span style="font-size: 11pt; color: rgb(31, 73, 125);">Cheers,<u></u><u></u></span></p><p class="MsoNormal">
<span style="font-size: 11pt; color: rgb(31, 73, 125);">Jocelyn  <u></u><u></u></span></p><p class="MsoNormal"><span style="font-size: 11pt; color: rgb(31, 73, 125);"><u></u> <u></u></span></p><div style="border-width: 1pt medium medium; border-style: solid none none; border-color: rgb(181, 196, 223) -moz-use-text-color -moz-use-text-color; padding: 3pt 0cm 0cm;">
<p class="MsoNormal"><b><span style="font-size: 10pt;" lang="EN-US">From:</span></b><span style="font-size: 10pt;" lang="EN-US"> <a href="mailto:sap-wug-bounces@mit.edu" target="_blank">sap-wug-bounces@mit.edu</a> [mailto:<a href="mailto:sap-wug-bounces@mit.edu" target="_blank">sap-wug-bounces@mit.edu</a>] <b>On Behalf Of </b>Max S Gro<br>
<b>Sent:</b> Thursday, 2 June 2011 10:45 PM<br><b>To:</b> SAP Workflow Users&#39; Group<br><b>Subject:</b> Offline PDF Form and Workflow Integration<u></u><u></u></span></p></div><div><div></div><div class="h5"><p class="MsoNormal">
<u></u> <u></u></p><p class="MsoNormal">Hi WUG-ers,<br><br>Due to my lack of SAP workflow knowledge, I would like to apologize beforehand for my silly questions. Please kindly bear with my questions.<br><br>I have the following scenario:<br>
<br>1. Offline interactive PDF form with &quot;Submit&quot; button.<br>2. Once &quot;Submit&quot; button is clicked, it will call web service.<br>3. Web service will save the form entries into custom table and trigger the event.<br>
4. By triggering the event, system will then trigger the customized workflow. <br>5. Depends on certain condition, number of approvals will vary (the setting is in custom table). <br>    example: &lt; 1000 = 1 level of approval<br>
                  1000 - 3000 = 2 level of approvals<br>                  3000 - 5000 = 3 level of approvals <br>    <span style="color: rgb(51, 102, 255);">Q: How do i do this kind of dynamic level of approval ? </span><br>
6. Any Approver can &quot;approve&quot;, &quot;reject&quot; or ask requester to &quot;revise&quot; (change the application).<br>    &quot;Approve&quot; and &quot;Reject&quot; will end the workflow cycle.<br>    &quot;Revise&quot; ---&gt; requester needs to change the application from offline interactive form and &quot;Re-Submit&quot; the application. <br>
     <span style="color: rgb(51, 51, 255);">Q: For &quot;Revise&quot; case, how can i continue the previous workflow cycle ?</span><br><br>I have the following status:<br>S = Submitted<br>A = Approved (by all approvers)<br>
R = Rejected<br>V = Revised<br>T = Re-Submitted<br><br>     <span style="color: rgb(51, 51, 255);">Q: Best practice: do i need different status for different level of approval (eg: A1 = approved by 1st approval, and so on) ? </span><br>
 <br>I marked my questions in blue. Hopefully i explain the scenario clearly. <br><br>Again, apologize for my silly questions.<br><br>Thanks In Advance !!<u></u><u></u></p></div></div></div></div><br>_______________________________________________<br>

SAP-WUG mailing list<br>
<a href="mailto: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><br>
<br></blockquote></div><br>