Unlike static resource operations such as UPDATE or DELETE, tool-defined resource operations can be dynamically returned by a tool. There are only two reasons for using a tool-defined resource operation instead of a static one:
The resource operations to be processed by AWM are returned by the tool at run time by using specific syntax:
operation(REFRESH,SELECT): properties
See the following table for more information:
Keyword | Description |
---|---|
operation * | The resource operation to be executed.
Valid values:
The values are equivalent to the static resource operations INSERT, INSERT-CHILD, REMOVE, and UPDATE. |
REFRESH [O] | Determines whether to execute the "Get All Properties" action of the element. This action is executed directly after the tool that returned this resource operation. |
SELECT [O] | Selects the element in the view where the action was executed. Only relevant if the properties of the resource operation contain a valid element ID (combination of ID definition properties). See ID Definition for more information. |
properties | Depending on the resource operation, the following rules apply to tool output parameters:
Returned resource operation properties must be modeled as output parameters of the type ToolDefinedResourceOperation. |