10-17-2013 05:53 AM
<type name="mytaskmodel:mytask">
<parent>bpm:workflowTask</parent>
<properties>
<property name="mytaskmodel:pro_title">
<type>d:text</type>
<mandatory>false</mandatory>
</property>
</properties>
<mandatory-aspects>
<aspect>mytaskmodel:aspect_file_relate</aspect>
</mandatory-aspects>
</type>
<aspects>
<aspect name="mytaskmodel:aspect_file_relate">
<associations>
<association name="mytaskmodel:file_relate">
<title>File Relate</title>
<source>
<mandatory>false</mandatory>
<many>false</many>
</source>
<target>
<class>cm:content</class>
<mandatory>false</mandatory>
<many>true</many>
</target>
</association>
</associations>
</aspect>
</aspects>
var wfdef = workflow.getDefinitionByName("activiti$myworkflow");
var wfparams=Array();
wfparams["mytaskmodel:pro_title"]="Title";
var wfpackage = workflow.createPackage();
var wfpath = wfdef.startWorkflow(wfpackage, wfparams);
10-19-2013 02:44 AM
10-24-2013 07:19 AM
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.