Implementing Workflow Steps
Workflow Steps are implemented as APEX classes that are used in implementing the System.Callable interface.
In the Workflow Step record, you need to define 2 attributes that maps to the APEX class:
- Classname: The name of the APEX class that will be instantiated.
- Method: The string value that will be sent to the APEX class call method as first parameter.
- Entity: Defines the entity that will be passed to the APEX class.
On the context parameter, the passed in Object contains the following properties:
During runtime, each Workflow Step is executed once for each available entity.