From Travel Request exapmle of bonitasoft community : i copy and paste following code with my changes for conformation page
but still same code work on travel request
but not working on my app
how can i solve ?
what i misstaken
if(is_promote == "Promoted"){
return "Your travel request has been successfully submitted. The travel advance limit has exceeded, please modify the request to keep it within the limit"
}
return String.format("Your travel request has been successfully submitted and has been sent to the manager for approval
" +
"To continue, Click here, logout (Settings -> Logout) and then login as william.jobs (bpm)", bonitaConsoleUrl); **<--- ALERT : bonitaConsoleUrl cannot be resolved. It may lead to runtime errors.**