I am working on chapter 5 from Activiti In Action on deploying the bar file in Activiti Explorer. Prior to deploying I ran the LoanRequestTest.java file. The Activiti Explorer is connected to a in-memory database.
After deploying the loanrequest.bar file in Activiti Explorer, I signed-in as Fozzie. However, after filling out the form with "Miss Piggy" and on clicking the "Start Process" I ran into an error where the "creditCheckOk" variable is never set in the (CreateApplicationTask.execute(DelegateExecution execution)) DelegateExecution variable from the Groovy scriptTask. I printed the execution variable map contents and it has this (without the creditCheckOk variable set) :
execution variables are {loanAmount=400, income=1000, name=Miss Piggy, emailAddress=miss.piggy@localhost}