App Error : Activity not yet assigned

1
0
-1

Hello.

I start to develop a test app based on the tuto "Procurement request".

I have an issue in the app, which doesn't appear from the portal :
When, in the "completeQuotationForm", I click on "Accept", I have an error :
"exception":"class.org.bonitasoft.engine.bpm.flowNodeExecutionException",
"message":"USERNAME=walter.bates | org.bonitasoft.engine.core.process.instance.api.exceptions.SActivityStateExecutionException : The activity is not yet assigned, unable to execute it"

When I start the task from the portal, it works perfectly...

I don't understand why the activity is not automatically assigned... can anybody help me ?

1 answer

1
0
-1

An activity can be available to a set of "candidate". One of the candidate will claim (take) the task, display the task form and submit the task with some data for the process execution to continue.

In Bonita BPM it is mandatory to take the task before submitting it. You usually do that using the Portal "take" button for that. If you load task form without going throught the Portal interface, you will need to provide a solution for the user to claim the task. Such solution can be a custom page or a custom widget to claim the task.

Notifications