cancel
Showing results for 
Search instead for 
Did you mean: 

Workflow options when started?

fgeorges
Champ in-the-making
Champ in-the-making
Hi,

  I've tried to add a simple workflow to Alfresco, based on the example through the page  http://wiki.alfresco.com/wiki/WorkflowAdministration.  But when I stat the workflow on a content file, the step 2 (workflow options) does not let me set the options (due date, assignee…)

  The three little source files and screenshots are there : http://www.fgeorges.org/wiki/Tmp.

  Since my start task is of type:

      <type name="drkm:submitTask">
         <parent>bpm:startTask</parent>
         <properties>
            <property name="drkm:notifyMe">
               <type>d:boolean</type>
               <default>false</default>
            </property>
         </properties>
         <mandatory-aspects>
            <aspect>bpm:assignee</aspect>
         </mandatory-aspects>
      </type>
‍‍‍‍‍‍‍‍‍‍‍‍‍‍
I thought it should have proposed to me the options of bpm:startTask, + notifyMe + the assignee (as explained on the screenshots.)

  What did I miss?  Regards,

–
Florent Georges
http://www.fgeorges.org/
3 REPLIES 3

vinaxwater
Champ in-the-making
Champ in-the-making
You must be having 3 files: file process (file jbpm), file model (the same bpmModel.xml), file client screen (the same web-client-config-properties.xml).

Regards.

fgeorges
Champ in-the-making
Champ in-the-making
Well, I have three files, as shown there: http://www.fgeorges.org/wiki/Tmp.  I have the process definition and the model (corresponding to the first two in your response), but I am not sure we speak about the same one for the third one.  You speak about a web client config properties, mine is the Spring beans context (the first on the wiki page.)  Is it what you mean, or do you mean there is an additional file?

  Thank you, best regards,

–
Florent Georges
http://www.fgeorges.org/

vinaxwater
Champ in-the-making
Champ in-the-making
No. Edit file web-client-config-properties.xml.

For Start:

<config evaluator="node-type" condition="drkm:submitTask" replace="true">
         <property-sheet>
            <separator name="sep1" display-label-id="general" component-generator="HeaderSeparatorGenerator" />
            <show-property name="bpm:workflowDescription" component-generator="TextAreaGenerator" read-only="false"/>
            <show-property name="bpm:workflowDueDate" read-only="false" />
            <show-property name="bpm:workflowPriority" read-only="false" />
                 <show-property name="drkm:notifyMe" />
            <separator name="sep2" display-label-id="users_and_roles" component-generator="HeaderSeparatorGenerator" />
            <show-association name="bpm:assignee" display-label-id="wf_adhoc_assign_to"/>
         </property-sheet>
</config>
‍‍‍‍‍‍‍‍‍‍‍‍‍

For Task:

<config evaluator="node-type" condition="drkm:completedTask" replace="true">
      <property-sheet>
         <separator name="sep1" display-label-id="general" component-generator="HeaderSeparatorGenerator" />
         <show-property name="bpm:description" component-generator="TextAreaGenerator" read-only="true"/>
         <show-property name="bpm:dueDate" read-only="true" />
         <show-property name="bpm:priority" read-only="true" />
         <show-property name="bpm:comment" component-generator="TextAreaGenerator" read-only="false" />
      </property-sheet>
</config>
‍‍‍‍‍‍‍‍‍‍‍

Regards.