...
can be used to access the following properties of an Extension task instance:
task_variables : dict
is_triggered : bool
trigger_id : str
instance_id : str
monitor_id : str
Examples
>>> ops_task_id = self.uip.task_variables['ops_task_id']
...
Serves as the starting point for work that will be performed for a task instance. It must be implemented in the derived class.
Parameters
fields : dict
populated with field values from the associated task instance launched in the Controller
...
Optional method that allows the Extension to do any cleanup work before terminating. To use it, implement in the derived class.
Parameters
None
Returns
None
...
update_extension_status
(self, fields)
...
- Can be called at any time by an Extension instance.
- Any/all output fields defined in the associated Extension Template can be updated using this method.
Parameters
fields :
dict dict
The fields parameter expects a dictionary of output fields to be sent back to the controller for the associated Extension instance. Field names are implementation dependent and correlate with the Universal Template field names in the Controller's Template definition for the associated task.
...