<start-state name="start">
<task name="scwf:submitReviewTask" swimlane="initiator"/>
<transition name="submit" to="Submit">
<action class="org.alfresco.repo.workflow.jbpm.AlfrescoJavaScript">
<script>
var document = companyhome.createFile("blah.txt");
document.content = "Texte…";
var folderNode = companyhome.createFolder("banane- added by script");
</script>
</action>
</transition>
</start-state>
comment fait-on pour ajouter des "workflow options" au workflow du style : choisir le 'reviewer' (avec le bouton rechercher qui montre tous les utilisateurs possibles, on ne sélectionne que celui qu'on veut…) Je n'arrive pas à trouver comment on fait parmi tous les nombreux fichiers. pourtant je t'assure que j'ai cherché. J'ai une idée, mais n'en suis pas sure : cet affichage se fait-il grace à une "node task"?:roll:
<swimlane name="assignee">
<assignment class="org.alfresco.repo.workflow.jbpm.AlfrescoAssignment">
<actor>#{bpm_assignee}</actor>
</assignment>
</swimlane>
<config evaluator="node-type" condition="scwf:submitReviewTask" replace="true">
<property-sheet>
<separator name="sep1" display-label-id="general" component-generator="HeaderSeparatorGenerator"/>–>
<show-property name="bpm:workflowDescription" component-generator="TextAreaGenerator"/>–>
<separator name="sep2" display-label-id="users_and_roles" component-generator="HeaderSeparatorGenerator" />
<show-association name="bpm:assignee" /> </property-sheet>
</config>
<type name="scwf:submitReviewTask">
<parent>bpm:startTask</parent>
[color=#FF4040]<mandatory-aspects>
<aspect>bpm:assignee</aspect>
</mandatory-aspects>[/color] </type>
Content from pre 2016 and from language groups that have been closed.
Content is read-only.
By using this site, you are agreeing to allow us to collect and use cookies as outlined in Alfresco’s Cookie Statement and Terms of Use (and you have a legitimate interest in Alfresco and our products, authorizing us to contact you in such methods). If you are not ok with these terms, please do not use this website.