Workflow Start Task Issue

cancel
Showing results for 
Search instead for 
Did you mean: 
Senior Member II

Workflow Start Task Issue

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.

Thanks & Regards,
Sanjay
6 Replies
Senior Member II

Re: Workflow Start Task Issue

In start task , use form key as wf:submitAdhocTask.

Senior Member II

Re: Workflow Start Task Issue

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 ?

Thanks & Regards,
Sanjay
Senior Member II

Re: Workflow Start Task Issue

Was facing similar issue and it got resolved by using OOB task

Senior Member II

Re: Workflow Start Task Issue

Not working.

Thanks & Regards,
Sanjay
Senior Member II

Re: Workflow Start Task Issue

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.

Senior Member II

Re: Workflow Start Task Issue

It's Really helpful.

Thanks

Thanks & Regards,
Sanjay