AnsweredAssumed Answered

how to assign tasks to all users.

Question asked by bruce.peng on Dec 1, 2008
Latest reply on Dec 11, 2008 by jwrobel
i have created a custom workfolw, for now each step task i use hard code in processdefinition.xml file, like:
    <swimlane name="scanning">
      <assignment class="org.alfresco.repo.workflow.jbpm.AlfrescoAssignment">
         <actor>#{people.getPerson("scanner")}</actor>  //——–at here i use had code
      </assignment>   
    </swimlane>
…  ….
    <swimlane name="qc">
      <assignment class="org.alfresco.repo.workflow.jbpm.AlfrescoAssignment">
         <actor>#{people.getPerson("qc")}</actor>    //——–at here i use had code
      </assignment>   
    </swimlane>
… …
but i don't want the hard code, you see it is very bad.i want dynamic replace the hard code.

maybe i will do somethings like this:the Administrator or workflowManager can set or change the all peoples who will to do the each step task at one page.

i am an new alfresco guys,  i don't how to implement (replace the hard codes). so please give some suggests. how can i do that?
i am sorry for my bad English! :)

Outcomes