[jboss-user] [jBPM] - Re: No current status match exception.
Ouadi BEL
do-not-reply at jboss.com
Wed Mar 20 21:29:42 EDT 2013
Ouadi BEL [https://community.jboss.org/people/ouadi_dev] created the discussion
"Re: No current status match exception."
To view the discussion, visit: https://community.jboss.org/message/803938#803938
--------------------------------------------------------------
Hi https://community.jboss.org/people/arselv 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
[https://community.jboss.org/message/803938#803938]
Start a new discussion in jBPM at Community
[https://community.jboss.org/choose-container!input.jspa?contentType=1&containerType=14&container=2034]
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.jboss.org/pipermail/jboss-user/attachments/20130320/e8fa37da/attachment-0001.html
More information about the jboss-user
mailing list