IBM BPM, V8.0.1, All platforms > Create processes in IBM Process Designer > Modeling processes > Modeling events
Use ad hoc events
Use an ad hoc event when you need to include ad hoc actions that can be run at any time during process execution.
If you want to enable end users to perform an ad hoc action during the execution of another process, you can do so by using a start ad hoc event in your BPD.
For example, you may want to enable end users to cancel an order, determine the status of an order, or perform some other ad hoc function during the normal processing of an order. Because an ad hoc action is run in the context of the regular process instance, it has access to all the data of the regular process instance and can also manipulate the flow of the regular process instance, depending on the logic that you include.
The 99Local.xml configuration file includes settings that restrict access to certain actions on BPDs and tasks. Users who perform ad hoc actions must be assigned to the security group associated with the ACTION_INJECT_TOKEN function.
- Building a sample ad hoc action
This example shows how to model an ad hoc action that enables users to view the contents of a requisition at any time during normal processing of the requisition.- Testing a sample ad hoc action
Use IBM Process Designer to test the sample ad hoc action.
Related tasks:
Defining ad hoc actions
Related information:
Restricting access to actions on BPDs and tasks