Skip to main content

system.kanoa.quality.config.getChkShtTriggers

This function requires KanoaQDS module

Description

Returns all check sheet triggers that meet the passed criteria in KanoaQDS.

Syntax

getChkShtTriggers(paramsDict)
  • Parameters
      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}
  • Returns
      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'])