def register_standard_workflows(): workflow_paths = utils.get_file_list(STD_WF_PATH) for wf_path in workflow_paths: workflow_definition = open(wf_path).read() create_workflows(workflow_definition, scope='public', is_system=True)
def register_standard_actions(): action_paths = utils.get_file_list(ACTIONS_PATH) for action_path in action_paths: action_definition = open(action_path).read() actions.update_actions(action_definition, scope='public', run_in_tx=False)
def register_standard_actions(): action_paths = utils.get_file_list(ACTIONS_PATH) for action_path in action_paths: action_definition = open(action_path).read() actions.create_or_update_actions( action_definition, scope='public' )
def register_standard_workflows(run_in_tx=True): workflow_paths = utils.get_file_list(STD_WF_PATH) for wf_path in workflow_paths: workflow_definition = open(wf_path).read() create_workflows(workflow_definition, scope='public', is_system=True, run_in_tx=run_in_tx)
def register_standard_workflows(run_in_tx=True): LOG.debug("Registering standard workflows...") workflow_paths = utils.get_file_list(STD_WF_PATH) for wf_path in workflow_paths: workflow_definition = open(wf_path).read() create_workflows(workflow_definition, scope='public', is_system=True, run_in_tx=run_in_tx, namespace='')
def register_standard_workflows(): workflow_paths = utils.get_file_list(STD_WF_PATH) for wf_path in workflow_paths: workflow_definition = open(wf_path).read() create_workflows(workflow_definition, scope='public')