cancel
Showing results for 
Search instead for 
Did you mean: 

Problem with the Listener configuration

lars_b
Champ in-the-making
Champ in-the-making
Hey,

now that the xml bug of the Designer is fixed i try to configure a workflow like the one given in the short tutorial http://www.emforge.net/web/activiti-liferay/wiki/-/wiki/Main/Model+BPMN+2.0+processes+in+Activiti+De....

When I got to the point to configure the "Review Asset" user Task, I didn´t know what to do..
I tried everything to make it look like the XML code given in the tutorial but didn´t succeed.

Can someone help me to fill in the Listener configuration of the "Review Asset" user Task so that the generated XML code eventually looks like this?

      <userTask id="usertask1" name="Review Asset" activiti:candidateGroups="Administrator">
         <extensionElements>
            <activiti:formProperty id="outputTransition" type="enum" required="true">
               <activiti:value id="Approve" label="Approve"/>
               <activiti:value id="Reject" label="Reject"/>
            </activiti:formProperty>
         </extensionElements>
      </userTask>

Thanks.
Lars
3 REPLIES 3

frederikherema1
Star Contributor
Star Contributor
Hi,

The configuration you are seeing is not the listener-config but the form-properties. Editing the form-properties is not yet supported on the visual editor. However, you can complete the BPMN model xml by hand, xsd-completion is available to make this easier.

lars_b
Champ in-the-making
Champ in-the-making
Thanks for the reply.

trademak
Star Contributor
Star Contributor
Hi,

We'll make sure that form property support is added in the next version of the Activiti Designer.

Best regards,