<html>
  <head>
    <meta content="text/html; charset=ISO-8859-1"
      http-equiv="Content-Type">
  </head>
  <body bgcolor="#FFFFFF" text="#000000">
    Hi Madhavi,<br>
    Not easily.  The director controls which actor is fired.  In SDF,
    the SDFScheduler determines the schedule.<br>
    <br>
    SDFScheduler extends actor.sched.StaticSchedulingDirector, which has
    a getScheduler().<br>
    <br>
    PN is more complex, the PNDirector extends
    actor.process.CompositeProcessDirector.  I'm not sure how you would
    determine which actor is next.<br>
    <br>
    You could use the LeftRightDirector at
    doc/tutorial/domains/LeftRightDirector.java to instantiate it, you
    would use Instantiate Attribute or what ever it is called in Kepler
    and enter doc.tutorial.domains.LeftRightDirector.  <br>
    <br>
    See
<a class="moz-txt-link-freetext" href="http://lists.nceas.ucsb.edu/kepler/pipermail/kepler-dev/2011-July/019653.html">http://lists.nceas.ucsb.edu/kepler/pipermail/kepler-dev/2011-July/019653.html</a><br>
    and
    <meta http-equiv="content-type" content="text/html;
      charset=ISO-8859-1">
    <a class="moz-txt-link-freetext" href="http://inst.eecs.berkeley.edu/~ee249/fa07/PtolemyIIExtensions.pdf">http://inst.eecs.berkeley.edu/~ee249/fa07/PtolemyIIExtensions.pdf</a><br>
    <br>
    _Christopher<br>
    <br>
    <br>
    <div class="moz-cite-prefix">On 9/12/12 3:21 AM, Madhavi Tikhe
      wrote:<br>
    </div>
    <blockquote
cite="mid:03836A4718914B458EC3D8EFC7E05A8147E8F102@HJ-MBX2.persistent.co.in"
      type="cite">
      <meta http-equiv="Content-Type" content="text/html;
        charset=ISO-8859-1">
      <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;}
 /* Style Definitions */
 p.MsoNormal, li.MsoNormal, div.MsoNormal
        {margin:0in;
        margin-bottom:.0001pt;
        font-size:11.0pt;
        font-family:"Calibri","sans-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;}
span.EmailStyle17
        {mso-style-type:personal-compose;
        font-family:"Calibri","sans-serif";
        color:windowtext;}
.MsoChpDefault
        {mso-style-type:export-only;}
@page Section1
        {size:8.5in 11.0in;
        margin:1.0in 1.0in 1.0in 1.0in;}
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]-->
      <div class="Section1">
        <p class="MsoNormal">Hi <o:p></o:p></p>
        <p class="MsoNormal">Is it possible to find out which actor is
          next in the row to be executed during the workflow execution?<o:p></o:p></p>
        <p class="MsoNormal">Regards,<o:p></o:p></p>
        <p class="MsoNormal">Madhavi<o:p></o:p></p>
        <p class="MsoNormal"><o:p> </o:p></p>
      </div>
      <p>DISCLAIMER
        ==========
        This e-mail may contain privileged and confidential information
        which is the property of Persistent Systems Ltd. It is intended
        only for the use of the individual or entity to which it is
        addressed. If you are not the intended recipient, you are not
        authorized to read, retain, copy, print, distribute or use this
        message. If you have received this communication in error,
        please notify the sender and delete all copies of this message.
        Persistent Systems Ltd. does not accept any liability for virus
        infected mails.</p>
      <br>
      <fieldset class="mimeAttachmentHeader"></fieldset>
      <br>
      <pre wrap="">_______________________________________________
Kepler-dev mailing list
<a class="moz-txt-link-abbreviated" href="mailto:Kepler-dev@kepler-project.org">Kepler-dev@kepler-project.org</a>
<a class="moz-txt-link-freetext" href="http://lists.nceas.ucsb.edu/kepler/mailman/listinfo/kepler-dev">http://lists.nceas.ucsb.edu/kepler/mailman/listinfo/kepler-dev</a>
</pre>
    </blockquote>
    <br>
    <pre class="moz-signature" cols="72">-- 
Christopher Brooks, PMP                       University of California
CHESS Executive Director                      US Mail: 337 Cory Hall
Programmer/Analyst CHESS/Ptolemy/Trust        Berkeley, CA 94720-1774
ph: 510.643.9841                                (Office: 545Q Cory)
home: (F-Tu) 707.665.0131 cell: 707.332.0670 </pre>
  </body>
</html>