AnsweredAssumed Answered

Problem executing a Shell Task

Question asked by edagher on Feb 15, 2019



I'm trying to execute a shell task as per the activiti user guide example: 

<serviceTask id="shellEcho" activiti:type="shell" >


      <activiti:field name="command" stringValue="cmd" />

     <activiti:field name="arg1" stringValue="/c" />

     <activiti:field name="arg2" stringValue="echo" />

     <activiti:field name="arg3" stringValue="EchoTest" />

     <activiti:field name="wait" stringValue="true" />

     <activiti:field name="outputVariable" stringValue="resultVar" />




It's giving me the below error:

Errors while parsing:[Validation set: 'activiti-executable-process' | Problem: 'activiti-servicetask-missing-implementation'] : One of the attributes 'class', 'delegateExpression', 'type', 'operation', or 'expression' is mandatory on serviceTask.


Can anyone help on how to fix this? what values do i need to set in these attributes. 


Thank you