AnsweredAssumed Answered

documentation and taskListener

Question asked by arief on Dec 22, 2010
Latest reply on Dec 23, 2010 by frederikheremans1

I'm creating bpmn20.xml without modeler.

in user task. If I put both documentation & taskListener, it won't work. I can only put either one of them. i.e. documentation without tasklistener or taskListener without documentation.

<userTask id="createRequest" name="Initiate work order request"
                  activiti:formKey="/workOrder/create" >
                <activiti:taskListener event="complete" expression="${execution.setVariable('actButtonIndicator', wfParamGen.createActButtonIndicator('approve,reject'))}" />
                <!–Work Order Requested by ${username}–>

Any idea on how to use both of them?

Thanks  ;)