beforeRenderResponse() is not working out
Both the task IDs are coming out same. So I’m able to execute my condition.
----------------------CODE SNIPPET-------------
protected void beforeRenderResponse() {
super.beforeRenderResponse();
//get new task Id
String newTaskID = (String)resolveExpression(“#{activePreferencesBean.taskID}”);
//check if we are in a new task
if (newTaskID!= null && !this.getAviationInvoice().getTaskID().equals(newTaskID))
{
this.initilizeAuditTrail();
}
// force refresh of the Task Content Provider
getAviationInvoice().refresh();
#webMethods#webMethods-BPMS#MWS-CAF-Task-Engine