11-14-2014 08:20 AM
{
'processDefinitionId':'xxxxx',
'variables' : [
{'name' : 'myVar', 'value' : 'something'}
]
}
<serviceTask id="console" activiti:type="shell" >
<extensionElements>
<activiti:field name="command" stringValue="echo" />
<activiti:field name="arg1" stringValue="${scriptVar}" />
</extensionElements>
</serviceTask>
11-14-2014 08:21 AM
11-14-2014 11:49 AM
11-14-2014 09:20 PM
11-15-2014 02:08 PM
{
'processDefinitionId':'xxxxx',
'variables' : [
{'name' : 'myPath', 'value' : '/tmp/test.txt'}
]
}
And my process definition contains:
<serviceTask id="console" activiti:type="shell" >
<extensionElements>
<activiti:field name="command" stringValue="touch" />
<activiti:field name="arg1" stringValue="${myPath}" />
</extensionElements>
</serviceTask>
<serviceTask id="console" activiti:type="shell" >
<extensionElements>
<activiti:field name="command" stringValue="touch" />
<activiti:field name="arg1" stringValue="/tmp/test.txt" />
</extensionElements>
</serviceTask>
11-19-2014 06:22 PM
11-20-2014 05:17 PM
11-21-2014 05:37 PM
11-25-2014 08:14 PM
11-26-2014 02:19 AM
<serviceTask id="shellEcho" activiti:type="shell">
<extensionElements>
<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"/>
</extensionElements>
</serviceTask>
Tags
Find what you came for
We want to make your experience in Hyland Connect as valuable as possible, so we put together some helpful links.