cancel
Showing results for 
Search instead for 
Did you mean: 

Workflow Start Task Issue

sanjaybandhaniya
Elite Collaborator
Elite Collaborator

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.

6 REPLIES 6

krutik_jayswal
Elite Collaborator
Elite Collaborator

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