Designer 10.5 | webMethods BPM Task Development Help | Configuring Tasks | Working with Services in Tasks | Extending a Task with Custom Java Code | Adding Actions and Data to a Task in the Bindings View
 
Adding Actions and Data to a Task in the Bindings View
You can extend the functionality of a task by adding actions (methods) and data (properties) to the Services bean in the Bindings view.
*To add actions and data to a task
1. In the Solutions view, double-click the task you want to work with to open it in the editor.
2. In the Bindings view, right-click Services and:
*Click Add > Action to open the Add New Action wizard. For more information about working with this wizard, see webMethods CAF and OpenUI Development Help.
*Click Add > Data to open the Add New Property wizard. For more information about working with this wizard, see webMethods CAF and OpenUI Development Help.
3. To view the results of step 2, double click Services in the Bindings view to open [TaskName]RuleContext.java in an editor. The new method or value has been added to the file.
Note:
If you have added any Java services to the task, the Java code for those services is visible here also.
Related Topics