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.
In start task , use form key as wf:submitAdhocTask.
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 ?
Was facing similar issue and it got resolved by using OOB task
Not working.
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.
It's Really helpful.
Thanks
Ask for and offer help to other Alfresco Content Services Users and members of the Alfresco team.
Related links:
By using this site, you are agreeing to allow us to collect and use cookies as outlined in Alfresco’s Cookie Statement and Terms of Use (and you have a legitimate interest in Alfresco and our products, authorizing us to contact you in such methods). If you are not ok with these terms, please do not use this website.