NOTICE: All information contained herein is, and remains
the property of TechnoCore Automate.
ObjWorkflowEdit.py is a command-line tool for editing, analyzing, and managing workflows within the Axion framework. It provides a suite of commands to interact with workflow definitions stored in the database, allowing for creation, modification, and analysis of workflows and their components.
overview(workflow_code: str)Scans a workflow's SQL statements in the database to identify and categorize table names. It displays the referenced def_, bloom_, and other tables, along with their row counts. It also lists any webhooks associated with the workflow.
save(workflow_code: str)Generates a YAML file for the specified workflow. The file will be named {workflow_code}_workflow.yaml.
save_calcs(calculation_group: str)Generates a YAML file for the specified calculation group. The file will be named {calculation_group}_calculation.yaml.
load(filename: str)Loads a workflow from a YAML file and saves it to the database.
addnode(workflow: str, from_node: str, to_node: str)Adds a new node to a workflow, connecting it between from_node and to_node.
del_node(workflow: str, del_node: str)Deletes a node from a workflow.
genform(form_from: str, form_to: str, workflow: str = "")Generates a workflow to transition between two forms.
# Get an overview of the "ONBOARDING" workflow
python factory.core/ObjWorkflowEdit.py overview ONBOARDING
# Save the "ONBOARDING" workflow to a file
python factory.core/ObjWorkflowEdit.py save ONBOARDING
# Save the "USER_CALCS" calculation group to a file
python factory.core/ObjWorkflowEdit.py save_calcs USER_CALCS
# Load a workflow from a file
python factory.core/ObjWorkflowEdit.py load onboarding_workflow.yaml
WORKFLOW_KICKOFF is imported from ObjWorkflow.WORKFLOW_KICKOFF — a SQL
IN (…) literal listing all valid kickoff node types ('GUI', 'FORM',
'IMPORT', 'API', 'WEBHOOK', 'SCHEDULER', 'REFLOW', 'ALERT',
'EVENT', 'SERVICE', 'START'). This constant must never be redefined as
a plain string, as it is embedded directly into SQL WHERE clauses.
Updated: 2026-03-01