AnsweredAssumed Answered

does JavaDelegate executes inside a TX?

Question asked by luisalves00 on Jan 31, 2013
Latest reply on Jan 31, 2013 by frederikheremans1
Got something like this:

<serviceTask id="servicetask4" name="UpdateState"

public class UpdateState implements JavaDelegate {

    public void execute(DelegateExecution execution) throws Exception {

        //update process vars
        execution.setVariable("approved", approved);
        execution.setVariable("sent", pa.isSent());


if getSomeJpa().edit(pa); throws an exception will the execution variable be changed on the DB and the workflow go forward?

thanks in advance.