def generate_num_processes_default(AUTOMS_NUM_PROCESSES):
    """ Generates the default num processes parameter value to use using configured 'num processes' """

    if AUTOMS_NUM_PROCESSES is None:
        num_processes_default = 1

    else:
        num_processes_default = AUTOMS_NUM_PROCESSES

    return num_processes_default