<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 14 (filtered medium)"><!--[if !mso]><style>v\:* {behavior:url(#default#VML);}
o\:* {behavior:url(#default#VML);}
w\:* {behavior:url(#default#VML);}
.shape {behavior:url(#default#VML);}
</style><![endif]--><style><!--
/* Font Definitions */
@font-face
        {font-family:"Tms Rmn";
        panose-1:2 2 6 3 4 5 5 2 3 4;}
@font-face
        {font-family:"Tms Rmn";
        panose-1:2 2 6 3 4 5 5 2 3 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;}
@font-face
        {font-family:"Comic Sans MS";
        panose-1:3 15 7 2 3 3 2 2 2 4;}
/* Style Definitions */
p.MsoNormal, li.MsoNormal, div.MsoNormal
        {margin:0in;
        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.MsoAcetate, li.MsoAcetate, div.MsoAcetate
        {mso-style-priority:99;
        mso-style-link:"Balloon Text Char";
        margin:0in;
        margin-bottom:.0001pt;
        font-size:8.0pt;
        font-family:"Tahoma","sans-serif";}
span.BalloonTextChar
        {mso-style-name:"Balloon Text Char";
        mso-style-priority:99;
        mso-style-link:"Balloon Text";
        font-family:"Tahoma","sans-serif";}
span.EmailStyle19
        {mso-style-type:personal-reply;
        font-family:"Calibri","sans-serif";
        color:#1F497D;}
.MsoChpDefault
        {mso-style-type:export-only;
        font-family:"Calibri","sans-serif";}
@page WordSection1
        {size:8.5in 11.0in;
        margin:1.0in 1.0in 1.0in 1.0in;}
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-US link=blue vlink=purple><div class=WordSection1><p class=MsoNormal><span style='font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1F497D'>You guys are correct. The problem was resolved by turning off “advance with dialog” on the first step of the synchronous dialog chain. What I didn’t realize is that an active substitute is considered to be a “recipient” of a task if they are subbing for a “responsible” agent. I also learned that on a synchronous dialog chain, you do not need to have “advance with dialog” turned on for the first step of the chain. It is only required on the subsequent steps that you want to automatically execute.<o:p></o:p></span></p><p class=MsoNormal><span style='font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1F497D'><o:p> </o:p></span></p><p class=MsoNormal><span style='font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1F497D'>The final thing to point out is a fundamental difference in how tasks are displayed in the Business Workplace compared to how they are displayed in the UWL. In Business Workplace, all tasks are displayed together in one list, whether they came directly to you, or if they came to you via substitution:<o:p></o:p></span></p><p class=MsoNormal><span style='font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1F497D'><o:p> </o:p></span></p><p class=MsoNormal><img width=792 height=179 id="Picture_x0020_1" src="cid:image005.png@01CFB880.7ADC3410"><span style='font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1F497D'><o:p></o:p></span></p><p class=MsoNormal><span style='font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1F497D'><o:p> </o:p></span></p><p class=MsoNormal><span style='font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1F497D'>But in the UWL, the user has the choice to view the items that came directly to them, items on behalf of someone else, or all items combined. You don’t get these options in Business Workplace:<o:p></o:p></span></p><p class=MsoNormal><img width=650 height=250 id="Picture_x0020_3" src="cid:image006.png@01CFB880.7ADC3410"><span style='font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1F497D'><o:p></o:p></span></p><p class=MsoNormal><span style='font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1F497D'><o:p> </o:p></span></p><p class=MsoNormal><span style='font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1F497D'>The point of that being that when the final approval task was being automatically started, the task was being reserved in the substitute’s queue so it only showed up under “My Items” in their UWL. This no longer gave them the choice to leave the item for the original approver to process.<o:p></o:p></span></p><p class=MsoNormal><span style='font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1F497D'><o:p> </o:p></span></p><p class=MsoNormal><span style='font-size:10.0pt;font-family:"Comic Sans MS";color:blue'>Loren Bratzler<o:p></o:p></span></p><p class=MsoNormal><span style='font-size:10.0pt;font-family:"Arial","sans-serif";color:gray'>Norfolk Southern Corporation<o:p></o:p></span></p><p class=MsoNormal><span style='font-size:10.0pt;font-family:"Arial","sans-serif";color:gray'><o:p> </o:p></span></p><p class=MsoNormal><span style='font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1F497D'><o:p> </o:p></span></p><p class=MsoNormal><b><span style='font-size:10.0pt;font-family:"Tahoma","sans-serif"'>From:</span></b><span 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>Rick Bakker<br><b>Sent:</b> Thursday, August 14, 2014 11:05 AM<br><b>To:</b> SAP Workflow Users' Group<br><b>Subject:</b> Re: Weird Synchronous Dialog Chain & Substitution Problem<o:p></o:p></span></p><p class=MsoNormal><o:p> </o:p></p><div><p class=MsoNormal>Hi Loren,<o:p></o:p></p><div><p class=MsoNormal><o:p> </o:p></p></div><div><p class=MsoNormal>I don't see what the problem is. If A is a substitute for B and A approves a workitem which leads to a new workitem being sent to B then I would expect it to automatically show up in A's inbox if Advance With Dialog is set. If you don't want this to happen then turn off AWD, as Mark suggested.<o:p></o:p></p></div><div><p class=MsoNormal><o:p> </o:p></p></div><div><p class=MsoNormal>regards<o:p></o:p></p></div><div><p class=MsoNormal>Rick<o:p></o:p></p></div><div><p class=MsoNormal><o:p> </o:p></p></div><div><p class=MsoNormal> <o:p></o:p></p></div></div><div><p class=MsoNormal style='margin-bottom:12.0pt'><o:p> </o:p></p><div><p class=MsoNormal>On Tue, Aug 12, 2014 at 9:03 PM, NAT GOVENDER <<a href="mailto:ngovender4@toyota.co.za" target="_blank">ngovender4@toyota.co.za</a>> wrote:<o:p></o:p></p><div><div><p class=MsoNormal style='mso-margin-top-alt:auto;mso-margin-bottom-alt:auto'><span lang=EN-ZA style='font-family:"Arial","sans-serif";color:#1F497D'>Hi Loren,</span><span lang=EN-ZA><o:p></o:p></span></p><p class=MsoNormal style='mso-margin-top-alt:auto;mso-margin-bottom-alt:auto'><span lang=EN-ZA style='font-family:"Arial","sans-serif";color:#1F497D'> </span><span lang=EN-ZA><o:p></o:p></span></p><p class=MsoNormal style='mso-margin-top-alt:auto;mso-margin-bottom-alt:auto'><span lang=EN-ZA style='font-family:"Arial","sans-serif";color:#1F497D'>Please check in you container who are the excluded agents for Task TS90000009.</span><span lang=EN-ZA><o:p></o:p></span></p><p class=MsoNormal style='mso-margin-top-alt:auto;mso-margin-bottom-alt:auto'><span lang=EN-ZA style='font-family:"Arial","sans-serif";color:#1F497D'>I think that your excluded agent for task in second approver might be the initiator of first step.</span><span lang=EN-ZA><o:p></o:p></span></p><div><p class=MsoNormal style='mso-margin-top-alt:auto;mso-margin-bottom-alt:auto;text-autospace:none'><b><span lang=EN-ZA style='font-family:"Tms Rmn","serif";color:#424282'> </span></b><span lang=EN-ZA><o:p></o:p></span></p><p class=MsoNormal style='mso-margin-top-alt:auto;mso-margin-bottom-alt:auto;text-autospace:none'><b><span lang=EN-ZA style='font-family:"Tms Rmn","serif";color:#424282'> </span></b><span lang=EN-ZA><o:p></o:p></span></p><p class=MsoNormal style='mso-margin-top-alt:auto;mso-margin-bottom-alt:auto;text-autospace:none'><b><span lang=EN-ZA style='font-family:"Tms Rmn","serif";color:#424282'> </span></b><span lang=EN-ZA><o:p></o:p></span></p><p class=MsoNormal style='mso-margin-top-alt:auto;mso-margin-bottom-alt:auto;text-autospace:none'><b><span lang=EN-ZA style='font-family:"Tms Rmn","serif";color:#424282'>Kind Regards</span></b><span lang=EN-ZA><o:p></o:p></span></p><p class=MsoNormal style='mso-margin-top-alt:auto;mso-margin-bottom-alt:auto;text-autospace:none'><span lang=EN-ZA style='font-family:"Tms Rmn","serif";color:black'> </span><span lang=EN-ZA><o:p></o:p></span></p><p class=MsoNormal style='mso-margin-top-alt:auto;mso-margin-bottom-alt:auto;text-autospace:none'><span lang=EN-ZA style='font-family:"Tms Rmn","serif";color:black'>Nat Govender</span><span lang=EN-ZA><o:p></o:p></span></p><p class=MsoNormal style='mso-margin-top-alt:auto;mso-margin-bottom-alt:auto;text-autospace:none'><span lang=EN-ZA style='font-family:"Tms Rmn","serif";color:black'>Specialist - SAP Workflow</span><span lang=EN-ZA><o:p></o:p></span></p><p class=MsoNormal style='mso-margin-top-alt:auto;mso-margin-bottom-alt:auto;text-autospace:none'><span lang=EN-ZA style='font-family:"Tms Rmn","serif";color:black'>IT Parts Logistics</span><span lang=EN-ZA><o:p></o:p></span></p><p class=MsoNormal style='mso-margin-top-alt:auto;mso-margin-bottom-alt:auto;text-autospace:none'><b><span lang=EN-ZA style='font-family:"Tms Rmn","serif";color:red'>Toyota South Africa Motors (Pty) Ltd - Durban</span></b><span lang=EN-ZA><o:p></o:p></span></p><p class=MsoNormal style='mso-margin-top-alt:auto;mso-margin-bottom-alt:auto;text-autospace:none'><b><span lang=EN-ZA style='font-family:"Arial","sans-serif";color:red'>T</span></b><span lang=EN-ZA style='font-family:"Arial","sans-serif";color:black'> <a href="tel:%2B27%2031%20910%202645" target="_blank">+27 31 910 2645</a> </span><b><span lang=EN-ZA style='font-family:"Arial","sans-serif";color:red'>F</span></b><span lang=EN-ZA style='font-family:"Arial","sans-serif";color:black'><a href="tel:%2B27%C2%A0%2086%20607%200414" target="_blank">+27 86 607 0414</a> </span><span lang=EN-ZA><o:p></o:p></span></p><p class=MsoNormal style='mso-margin-top-alt:auto;mso-margin-bottom-alt:auto;text-autospace:none'><b><span lang=EN-ZA style='font-family:"Arial","sans-serif";color:red'>E </span></b><u><span lang=EN-ZA style='font-family:"Arial","sans-serif";color:#0082BF'><a href="mailto:ngovender4@toyota.co.za" target="_blank"><span style='color:#0563C1'>ngovender4@toyota.co.za</span></a></span></u><span lang=EN-ZA style='font-family:"Arial","sans-serif";color:black'> </span><b><span lang=EN-ZA style='font-family:"Arial","sans-serif";color:red'>W <a href="http://www.toyota.co.za/_" target="_blank"><span style='color:#0082BF;font-weight:normal'>www.toyota.co.za</span></a></span></b><span lang=EN-ZA><o:p></o:p></span></p><p class=MsoNormal style='mso-margin-top-alt:auto;mso-margin-bottom-alt:auto;text-autospace:none'><b><span lang=EN-ZA style='font-family:"Tms Rmn","serif";color:black'> </span></b><span lang=EN-ZA><o:p></o:p></span></p><p class=MsoNormal style='mso-margin-top-alt:auto;mso-margin-bottom-alt:auto;text-autospace:none'><b><span lang=EN-ZA style='font-family:"Tms Rmn","serif";color:black'>If you tell the truth, you don't have to remember anything. </span></b><span lang=EN-ZA><o:p></o:p></span></p><p class=MsoNormal style='mso-margin-top-alt:auto;mso-margin-bottom-alt:auto;text-autospace:none'><b><span lang=EN-ZA style='font-family:"Tms Rmn","serif";color:black'>People may not remember exactly what you did, or what you said but they will always remember how you made them feel. </span></b><span lang=EN-ZA><o:p></o:p></span></p></div><p class=MsoNormal style='mso-margin-top-alt:auto;mso-margin-bottom-alt:auto'><span lang=EN-ZA style='font-family:"Arial","sans-serif";color:#1F497D'> </span><span lang=EN-ZA><o:p></o:p></span></p><div><div style='border:none;border-top:solid #E1E1E1 1.0pt;padding:3.0pt 0in 0in 0in'><p class=MsoNormal style='mso-margin-top-alt:auto;mso-margin-bottom-alt:auto'><b>From:</b> <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>Bratzler, Loren<br><b>Sent:</b> 12 August 2014 10:36 PM<br><b>To:</b> SAP Workflow Users' Group (<a href="mailto:sap-wug@mit.edu" target="_blank">sap-wug@mit.edu</a>)<br><b>Subject:</b> Weird Synchronous Dialog Chain & Substitution Problem<span lang=EN-ZA><o:p></o:p></span></p></div></div><div><div><p class=MsoNormal style='mso-margin-top-alt:auto;mso-margin-bottom-alt:auto'><span lang=EN-ZA> <o:p></o:p></span></p><p class=MsoNormal style='mso-margin-top-alt:auto;mso-margin-bottom-alt:auto'>I have a weird problem that is occurring with a synchronous dialog chain when there is UWL substitution involved.<span lang=EN-ZA><o:p></o:p></span></p><p class=MsoNormal style='mso-margin-top-alt:auto;mso-margin-bottom-alt:auto'> <span lang=EN-ZA><o:p></o:p></span></p><p class=MsoNormal style='mso-margin-top-alt:auto;mso-margin-bottom-alt:auto'>For our invoice approval workflow, the approval process is a two-step process. The first step launches the CHANGE method of the FIPP business object. Then the second step is a standard user decision step with approve and reject options. We use the “advance with dialog” option on these two steps so that the user will automatically see the approve and reject buttons when they exit from the CHANGE screen for the business object (making this a synchronous dialog chain). Our approval process is such that the immediate supervisor of the person who created the invoice is always the first approver of an invoice. Then if that person does not have the necessary dollar authority, we determine a final approver and send an approval task to that second person.<span lang=EN-ZA><o:p></o:p></span></p><p class=MsoNormal style='mso-margin-top-alt:auto;mso-margin-bottom-alt:auto'> <span lang=EN-ZA><o:p></o:p></span></p><p class=MsoNormal style='mso-margin-top-alt:auto;mso-margin-bottom-alt:auto'>The issue we are running into occurs if the first approver happens to also be a UWL substitute for the final approver. When the first approver completes the user decision step (the second step of the two-step dialog chain), the final approver’s task is automatically starting in the first approver’s inbox. This is causing the task to be reserved in the first approver’s inbox and the final approver never sees the task at all.<span lang=EN-ZA><o:p></o:p></span></p><p class=MsoNormal style='mso-margin-top-alt:auto;mso-margin-bottom-alt:auto'> <span lang=EN-ZA><o:p></o:p></span></p><p class=MsoNormal style='mso-margin-top-alt:auto;mso-margin-bottom-alt:auto'>I did some testing in our QA system and was able to replicate the issue. Here is the log when the first approver is not a UWL substitute for the final approver:<span lang=EN-ZA><o:p></o:p></span></p><p class=MsoNormal style='mso-margin-top-alt:auto;mso-margin-bottom-alt:auto'> <span lang=EN-ZA><o:p></o:p></span></p><p class=MsoNormal style='mso-margin-top-alt:auto;mso-margin-bottom-alt:auto'><img border=0 width=850 height=226 id="_x0000_i1025" src="cid:image001.png@01CFB87E.36A07830"><span lang=EN-ZA><o:p></o:p></span></p><p class=MsoNormal style='mso-margin-top-alt:auto;mso-margin-bottom-alt:auto'> <span lang=EN-ZA><o:p></o:p></span></p><p class=MsoNormal style='mso-margin-top-alt:auto;mso-margin-bottom-alt:auto'> <span lang=EN-ZA><o:p></o:p></span></p><p class=MsoNormal style='mso-margin-top-alt:auto;mso-margin-bottom-alt:auto'>And here is the log when the first approver is a UWL substitute for the final approver. The difference being that the final approver’s task is being started automatically for the first approver:<span lang=EN-ZA><o:p></o:p></span></p><p class=MsoNormal style='mso-margin-top-alt:auto;mso-margin-bottom-alt:auto'> <span lang=EN-ZA><o:p></o:p></span></p><p class=MsoNormal style='mso-margin-top-alt:auto;mso-margin-bottom-alt:auto'><img border=0 width=841 height=226 id="_x0000_i1026" src="cid:image002.png@01CFB87E.36A07830"><span lang=EN-ZA><o:p></o:p></span></p><p class=MsoNormal style='mso-margin-top-alt:auto;mso-margin-bottom-alt:auto'> <span lang=EN-ZA><o:p></o:p></span></p><p class=MsoNormal style='mso-margin-top-alt:auto;mso-margin-bottom-alt:auto'>It doesn’t make sense that this is happening because the agents assigned to the first approver step (step 8) and the agent assigned to the final approver step (step 36) are not the same.<span lang=EN-ZA><o:p></o:p></span></p><p class=MsoNormal style='mso-margin-top-alt:auto;mso-margin-bottom-alt:auto'><img border=0 width=627 height=218 id="_x0000_i1027" src="cid:image003.png@01CFB87E.36A07830"><span lang=EN-ZA><o:p></o:p></span></p><p class=MsoNormal style='mso-margin-top-alt:auto;mso-margin-bottom-alt:auto'> <span lang=EN-ZA><o:p></o:p></span></p><p class=MsoNormal style='mso-margin-top-alt:auto;mso-margin-bottom-alt:auto'><img border=0 width=625 height=220 id="_x0000_i1028" src="cid:image004.png@01CFB87E.36A07830"><span lang=EN-ZA><o:p></o:p></span></p><p class=MsoNormal style='mso-margin-top-alt:auto;mso-margin-bottom-alt:auto'> <span lang=EN-ZA><o:p></o:p></span></p><p class=MsoNormal style='mso-margin-top-alt:auto;mso-margin-bottom-alt:auto'>Has anyone ever run into something like this before?<span lang=EN-ZA><o:p></o:p></span></p><p class=MsoNormal style='mso-margin-top-alt:auto;mso-margin-bottom-alt:auto'> <span lang=EN-ZA><o:p></o:p></span></p><p class=MsoNormal style='mso-margin-top-alt:auto;mso-margin-bottom-alt:auto'><span style='font-size:10.0pt;font-family:"Comic Sans MS";color:blue'>Loren Bratzler</span><span lang=EN-ZA><o:p></o:p></span></p><p class=MsoNormal style='mso-margin-top-alt:auto;mso-margin-bottom-alt:auto'><span style='font-size:10.0pt;font-family:"Arial","sans-serif";color:gray'>Norfolk Southern Corporation</span><span lang=EN-ZA><o:p></o:p></span></p></div></div></div></div><p class=MsoNormal style='margin-bottom:12.0pt'><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><o:p></o:p></p></div><p class=MsoNormal><o:p> </o:p></p></div></div></body></html>