Context contributions
The Deviation Processor provides a variety of context contributions of different types for use within your module.
Views
NEXEED_SM_DEVIATION_PROCESSOR_SUSTAINABILITY_CHECK
-
Description: View showing details of the sustainability check
-
Parameters:
| Parameter | Required |
|---|---|
|
X |
|
X |
NEXEED_SM_DEVIATION_PROCESSOR_DEVIATION_EDIT
-
Description: View to edit editable fields of a deviation
-
Parameters:
| Parameter | Required |
|---|---|
|
X |
|
X |
NEXEED_SM_DEVIATION_PROCESSOR_QUICK_REACTIONS
-
Description: View to manage (view, edit, create, delete) quick reactions. Use the parameters to filter for specific quick reactions. If the contribution is called in
dummymode, the quick reactions are filtered by a virtual deviation created with the specified parameter values. If multiple values are specified for a single parameter indummymode, the value is set to the first element in the array. TheaffectedIdof this dummy deviation is determined by theaffectedGenericTypeparameter as follows:-
If
affectedGenericTypeis "facility",affectedIdis set to the first element in theaffectedFacilitiesarray -
If
affectedGenericTypeis "device",affectedIdis set to the first element in theaffectedDevicesarray -
If
affectedGenericTypeis "process",affectedIdis set to the first element in theaffectedProcessesarray -
If
affectedGenericTypeis "shift",affectedIdis set to the first element in theaffectedShiftsarray -
If
affectedGenericTypeis "product",affectedIdis set to the first element in theaffectedProductsarray
-
-
Parameters:
| Parameter | Required | Allowed Values |
|---|---|---|
|
X |
|
|
|
|
|
||
|
||
|
||
|
||
|
||
|
||
|
||
|
||
|
||
|
||
|
||
|
||
|
||
|
||
|
||
|
||
|
NEXEED_SM_DEVIATION_PROCESSOR_DEVIATION_HISTORY_REPORT
-
Description: This chart displays the count of deviations with a shared composite key (Code, Module, Detector, AffectedId, AffectedGenericType, FacilityId) over time on the primary Y-axis. Optionally, another aggregated metric can be displayed on the secondary Y-axis using the parameter called
additional. Select one of the following supported values foradditional:-
deviation-duration: Displays the summed duration of the deviations over time. -
impact:<impact-title>: Displays the summed value of impacts associated to the deviations over time. Only impacts with the specified title are considered in the calculation. Replace<impact-title>with the exact title of the impact you wish to aggregate.
-
-
Parameters:
| Parameter | Required |
|---|---|
|
X |
|
X |
|
X |
|
X |
|
Dialogs
NEXEED_SM_DEVIATION_PROCESSOR_CREATE_RISK
-
Description: Dialog to create a risk attached to a deviation
-
Parameters:
| Parameter | Required |
|---|---|
|
X |
|
X |
NEXEED_SM_DEVIATION_PROCESSOR_MANUAL_REACTION
-
Description: Dialog to create a manual reaction based on a deviation. If the
preferredActionIdparameter is given, the specific action is preselected (if it’s available). -
Parameters:
| Parameter | Required |
|---|---|
|
X |
|
X |
|
NEXEED_SM_DEVIATION_PROCESSOR_CREATE_SUSTAINABILITY_CHECK
-
Description: Dialog to create a sustainability check with pre-filled properties based on the provided parameters
-
Parameters:
| Parameter | Required |
|---|---|
|
X |
|
|
|
|
|
|
|
NEXEED_SM_DEVIATION_PROCESSOR_CREATE_DEVIATION
-
Description: Dialog to create a deviation with some pre-filled properties based on parameters
-
Parameters:
| Parameter | Required |
|---|---|
|
X |
|
X |
NEXEED_SM_DEVIATION_PROCESSOR_QUICK_REACTION
-
Description: Dialog to create or update a quick reaction. The quick reaction to update can be specified with the help of the
idparameter. For new quick reactions, parameters likemodulecan be used to prefill the dialog. If thecontributionIdparameter is given, the wizard shown in the dialog will start in step 2 (define actions), which prevents users from editing the conditions of the quick reaction. If thepreferredActionIdparameter is given, the specific action is preselected (if it’s available) in step 2 (define actions). -
Parameters:
| Parameter | Required |
|---|---|
|
X |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
Data
NEXEED_DEVIATION_PROCESSOR_DETECTOR_MODULES
-
Description: Provides a list of detector modules known to the Deviation Processor. This is usually used by other modules to offer filter selections for detector modules in their UI.
-
Parameters:
| Parameter | Required |
|---|---|
|
X |
NEXEED_DEVIATION_PROCESSOR_DYNAMIC_VARIABLES
-
Description: Provides a list of dynamic variables (placeholders of deviation properties) that can be used in the quick reaction dialog.
-
Parameters:
| Parameter | Required |
|---|---|
|
X |