<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>
<STYLE type=text/css>p{margin: 0;}</STYLE>

<META content="MSHTML 6.00.2900.3627" name=GENERATOR></HEAD>
<BODY style="FONT-SIZE: 10pt; FONT-FAMILY: Verdana,Arial,Helvetica,sans-serif">
<P>Jocelyn,</P>
<P>&nbsp;</P>
<P>do also sub and super workflows and it's tasks inherite the new priority?</P>
<P>&nbsp;</P>
<P>Regards,</P>
<P>Robert<BR><BR></P>
<P>On Nov 30, 2009 23:40 "Dart, Jocelyn" <A href="mailto:jocelyn.dart@sap.com">&lt;jocelyn.dart@sap.com&gt;</A> wrote:</P>
<BLOCKQUOTE type="cite">
<DIV class=Section1>
<P class=MsoNormal><SPAN style="FONT-SIZE: 11pt; COLOR: #1f497d; FONT-FAMILY: 'Calibri','sans-serif'">Folks… You can also just use method SetPriority of BOR object FLOWITEM – i.e. you set the priority of the workflow instance and it is inherited to the work item. <?xml:namespace prefix = o ns = "urn:schemas-microsoft-com:office:office" /><o:p></o:p></SPAN></P>
<P class=MsoNormal><SPAN style="FONT-SIZE: 11pt; COLOR: #1f497d; FONT-FAMILY: 'Calibri','sans-serif'">Regards,<o:p></o:p></SPAN></P>
<P class=MsoNormal><SPAN style="FONT-SIZE: 11pt; COLOR: #1f497d; FONT-FAMILY: 'Calibri','sans-serif'">Jocelyn<o:p></o:p></SPAN></P>
<P class=MsoNormal><SPAN style="FONT-SIZE: 11pt; COLOR: #1f497d; FONT-FAMILY: 'Calibri','sans-serif'"><o:p>&nbsp;</o:p></SPAN></P>
<DIV>
<DIV style="BORDER-RIGHT: medium none; PADDING-RIGHT: 0cm; BORDER-TOP: #b5c4df 1pt solid; PADDING-LEFT: 0cm; PADDING-BOTTOM: 0cm; BORDER-LEFT: medium none; PADDING-TOP: 3pt; BORDER-BOTTOM: medium none">
<P class=MsoNormal><B><SPAN lang=EN-US style="FONT-SIZE: 10pt; FONT-FAMILY: 'Tahoma','sans-serif'">From:</SPAN></B><SPAN lang=EN-US style="FONT-SIZE: 10pt; 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> Saturday, 28 November 2009 12:41 AM<BR><B>To:</B> SAP Workflow Users' Group; SAP Workflow Users' Group; SAP Workflow Users' Group<BR><B>Subject:</B> [LIKELY JUNK]Re: Re: RE: RE: Dynamic priority workitem<o:p></o:p></SPAN></P></DIV></DIV>
<P class=MsoNormal><o:p>&nbsp;</o:p></P>
<P class=MsoNormal style="MARGIN-BOTTOM: 12pt"><SPAN style="FONT-SIZE: 10pt; FONT-FAMILY: 'Verdana','sans-serif'">PS: in binding is not possible... this is an attribute of an object so can not be changed by bindings.. <o:p></o:p></SPAN></P>
<P><SPAN style="FONT-SIZE: 10pt; FONT-FAMILY: 'Verdana','sans-serif'">On Nov 27, 2009 14:27 "Robert van den Berg" <A href="mailto:wug@bergtop-ict.nl"><WUG@BERGTOP-ICT.NL></A>wrote:<o:p></o:p></SPAN></P>
<BLOCKQUOTE style="MARGIN-TOP: 5pt; MARGIN-BOTTOM: 5pt">
<P><SPAN style="FONT-SIZE: 10pt; FONT-FAMILY: 'Verdana','sans-serif'">My appologies en many thanx!! I did not see the attribute.. I will test this with the bindings.<o:p></o:p></SPAN></P>
<P><SPAN style="FONT-SIZE: 10pt; FONT-FAMILY: 'Verdana','sans-serif'">Maybe it's time for weekend? ;-)<o:p></o:p></SPAN></P>
<P><SPAN style="FONT-SIZE: 10pt; FONT-FAMILY: 'Verdana','sans-serif'">&nbsp;<o:p></o:p></SPAN></P>
<P style="MARGIN-BOTTOM: 12pt"><SPAN style="FONT-SIZE: 10pt; FONT-FAMILY: 'Verdana','sans-serif'">Many thanx again!<o:p></o:p></SPAN></P>
<P><SPAN style="FONT-SIZE: 10pt; FONT-FAMILY: 'Verdana','sans-serif'">On Nov 27, 2009 14:10 "JANSSENS Koenraad" wrote:<o:p></o:p></SPAN></P>
<BLOCKQUOTE style="MARGIN-TOP: 5pt; MARGIN-BOTTOM: 5pt">
<DIV>
<P class=MsoNormal style="mso-margin-top-alt: auto; mso-margin-bottom-alt: auto"><SPAN style="FONT-SIZE: 10pt; FONT-FAMILY: 'Arial','sans-serif'">Robert, I did something with priorities a long time ago with a previous employer.&nbsp; I don’t have the details lying around however.<o:p></o:p></SPAN></P>
<P class=MsoNormal style="mso-margin-top-alt: auto; mso-margin-bottom-alt: auto"><SPAN style="FONT-SIZE: 10pt; FONT-FAMILY: 'Arial','sans-serif'">How you could implement?<o:p></o:p></SPAN></P>
<P class=MsoNormal style="mso-margin-top-alt: auto; mso-margin-bottom-alt: auto"><SPAN style="FONT-SIZE: 10pt; 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 style="mso-margin-top-alt: auto; mso-margin-bottom-alt: auto"><SPAN style="FONT-SIZE: 10pt; 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 style="mso-margin-top-alt: auto; mso-margin-bottom-alt: auto"><SPAN style="FONT-SIZE: 10pt; FONT-FAMILY: 'Arial','sans-serif'"><o:p>&nbsp;</o:p></SPAN></P>
<P class=MsoNormal style="mso-margin-top-alt: auto; mso-margin-bottom-alt: auto"><SPAN style="FONT-SIZE: 10pt; FONT-FAMILY: 'Arial','sans-serif'"><o:p>&nbsp;</o:p></SPAN></P>
<DIV style="BORDER-RIGHT: medium none; PADDING-RIGHT: 0cm; BORDER-TOP: medium none; PADDING-LEFT: 4pt; PADDING-BOTTOM: 0cm; BORDER-LEFT: blue 1.5pt solid; PADDING-TOP: 0cm; BORDER-BOTTOM: medium none">
<DIV>
<DIV style="BORDER-RIGHT: medium none; PADDING-RIGHT: 0cm; BORDER-TOP: #b5c4df 1pt solid; PADDING-LEFT: 0cm; PADDING-BOTTOM: 0cm; BORDER-LEFT: medium none; PADDING-TOP: 3pt; BORDER-BOTTOM: medium none">
<P class=MsoNormal style="mso-margin-top-alt: auto; mso-margin-bottom-alt: auto"><B><SPAN lang=EN-US style="FONT-SIZE: 10pt; FONT-FAMILY: 'Tahoma','sans-serif'">From:</SPAN></B><SPAN lang=EN-US style="FONT-SIZE: 10pt; 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 style="mso-margin-top-alt: auto; mso-margin-bottom-alt: auto"><o:p>&nbsp;</o:p></P>
<P><SPAN style="FONT-SIZE: 10pt; 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: 10pt; FONT-FAMILY: 'Verdana','sans-serif'">&nbsp;<o:p></o:p></SPAN></P>
<P><SPAN style="FONT-SIZE: 10pt; 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: 10pt; FONT-FAMILY: 'Verdana','sans-serif'">&nbsp;<o:p></o:p></SPAN></P>
<P><SPAN style="FONT-SIZE: 10pt; FONT-FAMILY: 'Verdana','sans-serif'">Or how would you see this Koenraad?<o:p></o:p></SPAN></P>
<P><SPAN style="FONT-SIZE: 10pt; FONT-FAMILY: 'Verdana','sans-serif'">&nbsp;<o:p></o:p></SPAN></P>
<P><SPAN style="FONT-SIZE: 10pt; FONT-FAMILY: 'Verdana','sans-serif'">&nbsp;<o:p></o:p></SPAN></P>
<P><SPAN style="FONT-SIZE: 10pt; FONT-FAMILY: 'Verdana','sans-serif'">On Nov 27, 2009 13:18 "JANSSENS Koenraad" wrote:<o:p></o:p></SPAN></P>
<BLOCKQUOTE style="MARGIN-TOP: 5pt; MARGIN-BOTTOM: 5pt">
<P class=MsoNormal style="MARGIN-BOTTOM: 12pt; mso-margin-top-alt: auto"><SPAN style="FONT-SIZE: 10pt; FONT-FAMILY: 'Verdana','sans-serif'">SWW_WI_PRIORITY_CHANGE ? <BR>Best Regards<BR><BR>Koenraad Janssens <o:p></o:p></SPAN></P>
<P class=MsoNormal style="mso-margin-top-alt: auto; mso-margin-bottom-alt: auto"><SPAN style="FONT-SIZE: 10pt; 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 style="mso-margin-top-alt: auto; mso-margin-bottom-alt: auto"><SPAN style="FONT-SIZE: 10pt; 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></BLOCKQUOTE></BLOCKQUOTE></DIV></BLOCKQUOTE></BODY></html>