<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:dt="uuid:C2F41010-65B3-11d1-A29F-00AA00C14882" 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=us-ascii">
<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;}
@font-face
        {font-family:Verdana;
        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
        {mso-style-priority:99;
        margin:0cm;
        margin-bottom:.0001pt;
        font-size:12.0pt;
        font-family:"Times New Roman","serif";}
span.EmailStyle18
        {mso-style-type:personal-reply;
        font-family:"Arial","sans-serif";
        color:windowtext;
        font-weight:normal;
        font-style:normal;
        text-decoration:none none;}
.MsoChpDefault
        {mso-style-type:export-only;
        font-size:10.0pt;}
@page Section1
        {size:612.0pt 792.0pt;
        margin:72.0pt 72.0pt 72.0pt 72.0pt;}
div.Section1
        {page:Section1;}
-->
</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-GB link=blue vlink=purple>

<div class=Section1>

<p class=MsoNormal><span style='font-size:10.0pt;font-family:"Arial","sans-serif"'>Robert,
I did something with priorities a long time ago with a previous employer.&nbsp;
I don&#8217;t have the details lying around however.<o:p></o:p></span></p>

<p class=MsoNormal><span style='font-size:10.0pt;font-family:"Arial","sans-serif"'>How
you could implement?<o:p></o:p></span></p>

<p class=MsoNormal><span style='font-size:10.0pt;font-family:"Arial","sans-serif"'>Well
you could put the code to change the priority in a method of a BOR and call
that method via a task in your WF.&nbsp; (as such you can evaluate whatever you
want in the method in order to put the right priority)<o:p></o:p></span></p>

<p class=MsoNormal><span style='font-size:10.0pt;font-family:"Arial","sans-serif"'>Also
in the container you normally have a step instance which has an attribute
priority.&nbsp; (or in binding wf - &gt; task workitem -&gt; workitempriority..
you even have that in the workflow container)<o:p></o:p></span></p>

<p class=MsoNormal><span style='font-size:10.0pt;font-family:"Arial","sans-serif"'><o:p>&nbsp;</o:p></span></p>

<p class=MsoNormal><span style='font-size:10.0pt;font-family:"Arial","sans-serif"'><o:p>&nbsp;</o:p></span></p>

<div style='border:none;border-left:solid blue 1.5pt;padding:0cm 0cm 0cm 4.0pt'>

<div>

<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>Robert van den Berg <br>
<b>Sent:</b> Friday, November 27, 2009 1:33 PM<br>
<b>To:</b> SAP Workflow Users' Group; SAP Workflow Users' Group<br>
<b>Subject:</b> Re: RE: Dynamic priority workitem<o:p></o:p></span></p>

</div>

</div>

<p class=MsoNormal><o:p>&nbsp;</o:p></p>

<p><span style='font-size:10.0pt;font-family:"Verdana","sans-serif"'>There is
no containerelement I can use in the bindings to set the priority?<o:p></o:p></span></p>

<p><span style='font-size:10.0pt;font-family:"Verdana","sans-serif"'>&nbsp;<o:p></o:p></span></p>

<p><span style='font-size:10.0pt;font-family:"Verdana","sans-serif"'>If I have
to use the FM, I need to create a user exit or something...<o:p></o:p></span></p>

<p><span style='font-size:10.0pt;font-family:"Verdana","sans-serif"'>&nbsp;<o:p></o:p></span></p>

<p><span style='font-size:10.0pt;font-family:"Verdana","sans-serif"'>Or how
would you see this Koenraad?<o:p></o:p></span></p>

<p><span style='font-size:10.0pt;font-family:"Verdana","sans-serif"'>&nbsp;<o:p></o:p></span></p>

<p><span style='font-size:10.0pt;font-family:"Verdana","sans-serif"'>&nbsp;<o:p></o:p></span></p>

<p><span style='font-size:10.0pt;font-family:"Verdana","sans-serif"'>On Nov 27,
2009 13:18 &quot;JANSSENS Koenraad&quot; <a
href="mailto:Koenraad.JANSSENS@swift.com">&lt;Koenraad.JANSSENS@swift.com&gt;</a>
wrote:<o:p></o:p></span></p>

<blockquote style='margin-top:5.0pt;margin-bottom:5.0pt'>

<p class=MsoNormal><span style='font-size:10.0pt;font-family:"Verdana","sans-serif"'>SWW_WI_PRIORITY_CHANGE
? <br>
Best Regards<br>
<br>
Koenraad Janssens <br>
<br>
<o:p></o:p></span></p>

<p class=MsoNormal><span style='font-size:10.0pt;font-family:"Verdana","sans-serif"'>-----Original
Message----- <br>
From: <a href="mailto:sap-wug-bounces@mit.edu">sap-wug-bounces@mit.edu</a>
[mailto:sap-wug-bounces@mit.edu] On Behalf Of Robert van den Berg <br>
Sent: Friday, November 27, 2009 12:53 PM <br>
To: SAP Workflow Users' Group <br>
Subject: Dynamic priority workitem <br>
<br>
All, <br>
<br>
is there a possibility to set the priotity of a workitem dynamicaly? <br>
We want this to be set to pririty 1 in case if it is a certain <br>
supplier or invoicing party. <br>
<br>
(I was thinking about checking on a certain value of a container <br>
element before the workitem is created and then setting the priority <br>
of that next workitem). <br>
<br>
Best regards, <br>
Robert <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">http://mailman.mit.edu/mailman/listinfo/sap-wug</a>
<o:p></o:p></span></p>

<p class=MsoNormal><span style='font-size:10.0pt;font-family:"Verdana","sans-serif"'><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">http://mailman.mit.edu/mailman/listinfo/sap-wug</a>
<o:p></o:p></span></p>

</blockquote>

</div>

</div>

</body>

</html>