Defining an Operation Record for a Source
After you create a source, you define an Operation record to implement the code.
To define an Operation record for a source:
1. In
Max Designer, on the
Developer Tools (
) launchpad menu, click
Operations, and then in the list view, in the top left corner, click
Create (
).
2. On the
New Operation record page, complete the fields as follows, and then in the top left corner, click
Save and Close (
).
Field | Value |
---|
Name | Descriptive name for the operation. |
Identifier | Auto-populated based on the operation name. | This value must be unique within the namespace where the operation is created. |
|
Computer Language | Groovy |
Class Name | The fully qualified name of the newly created class in the format <source_package_name>.<class_name>, for example: com.servicemax.myapp.event_handler.EventHandlerSubclass |
System Info Tab: Application field | The application for the operation. |
Operation Parameters tab | The rest of the parameters for the operation. | In general, for event handlers, few if any additional parameters are needed. |
|
3. On the
Development Actions (
) launchpad menu, click
Synchronize.
For more information: