JBoss Community

Re: No current status match exception.

created by Ouadi BEL in jBPM - View the full discussion

Hi Dsire krish

Maybe its too late but i wanna share my solution for others

 

I had the same issue but i solve the problem by modifing

 

jbpm-human-task-core-5.4.0.Final.jar : org/jbpm/task/service/operations-dsl.mvel

 

file

You can change the operation requirements in this file

 

Operation.Start

        : [ new OperationCommand().{

                status = [ Status.Ready ],

                allowed = [ Allowed.PotentialOwner ],

                setNewOwnerToUser = true,

                newStatus = Status.InProgress

            },

            new OperationCommand().{

                status = [ Status.Reserved ],

                allowed = [ Allowed.Owner, Allowed.PotentialOwner ], 

                newStatus = Status.InProgress

            } ],    

 

this solved my problem.

Reply to this message by going to Community

Start a new discussion in jBPM at Community