(case, case_property_name, value)
Returns a PropertyChangedInfo namedtuple for the last time case_property_name changed to "value"
Returns a PropertyChangedInfo namedtuple for the last time case_property_name changed to "value"
Returns a PropertyChangedInfo namedtuple for the last time case_property_name changed to value
def get_latest_property_change_to_value(case, case_property_name, value):
    """Returns a PropertyChangedInfo namedtuple for the last time case_property_name changed to "value"
    """
    case_transactions = case.actions
    for i, case_transaction in enumerate(case_transactions):
        property_changed_info = property_changed_in_action(
            case.domain,
            case_transaction,
            case.case_id,
            case_property_name
        )
        if property_changed_info and property_changed_info.new_value == value:
            return property_changed_info
def get_latest_property_change_to_value ( case , case_property_name , value ) : case_transactions = case . actions for i , case_transaction in enumerate ( case_transactions ) : property_changed_info = property_changed_in_action ( case . domain , case_transaction , case . case_id , case_property_name ) if property_changed_info and property_changed_info . new_value == value : return property_changed_info