system.kanoa.quality.config.getChkShtTriggers
Description
Returns all check sheet triggers that meet the passed criteria in KanoaQDS.Syntax
getChkShtTriggers(paramsDict)- dict paramsDict - Dictionary with optional parameters, e.g., {'chkShtTriggerId': 1, 'triggerTypeName': 'some trigger', 'chkShtId': 4, 'chkShtName': 'some check sheet', 'enabled': True, 'shiftName': 'Shift 1', 'shiftNameId': 4}
- pyDataset chkShtTriggersData - Check sheet triggers data.
Code Examples
# Usage example
params_dict_chk_sht_triggers = {'chkShtTriggerId': 1, 'triggerTypeName': 'some trigger', 'chkShtId': 4, 'chkShtName': 'some check sheet', 'enabled': True, 'shiftName': 'Shift 1', 'shiftNameId': 4}
chk_sht_triggers_data = system.kanoa.quality.config.getChkShtTriggers(paramsDict=params_dict_chk_sht_triggers)
# Process the retrieved data
for row in chk_sht_triggers_data:
print(row['chkShtTriggerId'], row['chkShtId'], row['triggerTypeId'], row['triggerTypeName'], row['shiftName'])