When you create new Oracle BPM Application and generate human task page with payload, BPM automatically will generate human task operations like Approve, Reject, OK, ....
Sometime developer need to execute some code before calling operation Approve or Reject so you need to override operation Approve or Reject. To do so follow these steps:
1- Bind approve button action to method in backbean
2- In the approval action back bean method write this:
be sure that the button in the page has actionListener="#{invokeActionBean.setOperation}" and has attribute
You can do same steps in any other operations like Reject, Ok, ....
Sometime developer need to execute some code before calling operation Approve or Reject so you need to override operation Approve or Reject. To do so follow these steps:
1- Bind approve button action to method in backbean
2- In the approval action back bean method write this:
be sure that the button in the page has actionListener="#{invokeActionBean.setOperation}" and has attribute
You can do same steps in any other operations like Reject, Ok, ....