def set_change_request_state(change_id, state='approved'):
    '''
    Set the approval state of a change request/record

    :param change_id: The ID of the change request, e.g. CHG123545
    :type  change_id: ``str``

    :param state: The target state, e.g. approved
    :type  state: ``str``

    CLI Example:

    .. code-block:: bash

        salt myminion servicenow.set_change_request_state CHG000123 declined
        salt myminion servicenow.set_change_request_state CHG000123 approved
    '''
    client = _get_client()
    client.table = 'change_request'
    # Get the change record first
    record = client.get({'number': change_id})
    if not record:
        log.error('Failed to fetch change record, maybe it does not exist?')
        return False
    # Use the sys_id as the unique system record
    sys_id = record[0]['sys_id']
    response = client.update({'approval': state}, sys_id)
    return response