09-17-2018 03:30 AM
I have created custom workflow that can be start using custom action and selecting that workflow from dropdown list under workflow i have started.
When start workflow using drop down and display first form, then start task comes under history means start task is complete but when i start workflow using custom action , in that case start task comes under current task.
Jeff Potts
Please comment on this.
09-19-2018 06:51 AM
In start task , use form key as wf:submitAdhocTask.
09-19-2018 09:29 AM
I have Used this way:
1 ) *.bpmn20.xml
<startEvent id="StartEvent_1" name="Start Workflow" activiti:formKey="wf:submitStartTask">
</startEvent>
2)workflow-model.xml
<types>
<type name="wf:submitStartTask">
<title>Start Task</title>
<parent>bpm:startTask</parent>
</type>
Is this wrong way ?
09-19-2018 02:45 PM
Was facing similar issue and it got resolved by using OOB task
09-20-2018 02:14 AM
Not working.
09-20-2018 02:21 AM
Generally we are whenever we create task type in content model, We have new namspace uri and prefix defined for that.We can not create new task type in our content model, which is referring different prefix created in another content model.In you case you are trying to create wf:submitStartTask task type.Where wf: prefix belongs to alfresco content model.Not sure how you are able to start server as well.
It should work by changing in bpmn file.
<startEvent id="StartEvent_1" name="Start Workflow" activiti:formKey="wf:submitStartTask">
Instead of above use below
<startEvent id="StartEvent_1" name="Start Workflow">
This might resolve issue.
09-20-2018 02:52 AM
It's Really helpful.
Thanks
Explore our Alfresco products with the links below. Use labels to filter content by product module.