NexCommand AINexCom Knowledge Base
Field reference

Automation Flow

How to use Automation Flow in Workflow & Automation: access, working steps, fields, related records and troubleshooting.

Purpose and access

Configure workflow states, transitions, assignments and notifications against the correct record type. Define which role may act at each step and test the complete lifecycle in staging.

This page is a record page in System Admin → Workflow & Automation. Use the link above to open the configured destination; permissions are checked by the destination service.

ERP links open in a new tab. Sign in with your own account; record visibility, actions and approval authority follow your assigned permissions. Screens can differ by company and configuration.

Before you start

Prepare the required information: Title, Trigger Type.

Confirm the company, party, dates, units and source references that apply. Select existing links carefully and check for an existing record before creating a duplicate.

Working steps

  1. Open Automation Flow from System Admin → Workflow & Automation, or use ERP Search.
  2. Filter the list and open the relevant record. To add a record, use Add/New when your role provides that action.
  3. Complete the editable fields described below. Required fields and validation conditions must be satisfied; read-only values are set by the system or their source records.
  4. Add the required child rows. Review each row’s identifiers, linked records and values, using the child-table field reference below.
  5. Save the record and address validation messages. Reload and verify the saved values and relationships.
  6. Use any additional workflow actions only when the record and your role provide them. Saving this record does not automatically complete a related transaction or external action.

Field reference

These fields come from the installed ERP definition. Hidden fields and password inputs are omitted. Additional conditions, custom scripts and workflow rules can make a field required or read-only in a particular context.

FieldType / behaviorHow to use it
TitletitleData
Required
Enter the identifier or short text requested by the label. Preserve external reference numbers accurately.
Document Typedocument_typeLink
Optional
Blocked for child tables (istable). Required for document and date-based triggers.

Linked record: DocType

EnabledenabledCheck
Optional
Enabling requires at least one action and a valid trigger.
Disabled Reasondisabled_reasonSmall Text
Optional · Read-only
Provide concise contextual information relevant to the record. Avoid unrelated personal or confidential data.
Trigger Typetrigger_typeSelect
Required
Choose one of the configured list values. Status fields may be controlled by the record workflow.
Available choices
  • Doc Created
  • Doc Updated
  • Field Value Changed
  • Doc Deleted
  • Doc Submitted
  • Doc Cancelled
  • Date Based
  • Scheduled
  • Custom Event
  • Manual
Trigger Fieldtrigger_fieldSelect
Optional
Choose one of the configured list values. Status fields may be controlled by the record workflow.
From Valuefrom_valueData
Optional
Empty = any value.
To Valueto_valueData
Optional
Empty = any value.
Custom Eventcustom_eventData
Optional
Matches the event name passed to emit().
Date Fielddate_fieldSelect
Optional
Choose one of the configured list values. Status fields may be controlled by the record workflow.
Date Offset (Days)date_offsetInt
Optional
Enter a whole-number value.
Date Directiondate_directionSelect
Optional
Choose one of the configured list values. Status fields may be controlled by the record workflow.
Available choices
  • Before
  • After
Cron Expressioncron_expressionData
Optional
Standard 5-field cron, for example 0 9 * * 1 .
Next Runnext_runDatetime
Optional · Read-only
Record the date and time in the configured system/user time zone.
Advanced Expression using PythonconditionCode
Optional
Optional. For logic the match fields cannot express, such as OR groups. The document is available as doc ; the match fields and this expression must all be true.
RelationshipsrelationshipsJSON
Optional
Structured data field. Preserve the required object format and validate it before using it in an integration.
Revalidate on Runrevalidate_on_runCheck
Optional
Re-check filters and condition in the worker before executing.
ActionsactionsTable
Optional
Add the relevant child rows and review required columns, quantities and references before saving.

Linked record: Automation Action

Run Asrun_asSelect
Optional
Choose one of the configured list values. Status fields may be controlled by the record workflow.
Available choices
  • Triggering User
  • Document Owner
  • Automation User
Automation Userautomation_userLink
Optional
Choose an existing linked record. Check its company and ownership; typing a label alone does not create a new relationship.

Linked record: User

Stop on Errorstop_on_errorCheck
Optional
Enable or disable the named option only when it matches the intended record behavior.

Child tables

Actions — child-row fields
FieldType / behaviorHow to use it
Step Keystep_keyData
Optional
Enter the identifier or short text requested by the label. Preserve external reference numbers accurately.
Step Typestep_typeData
Optional
Enter the identifier or short text requested by the label. Preserve external reference numbers accurately.
Action Typeaction_typeSelect
Optional
Choose one of the configured list values. Status fields may be controlled by the record workflow.
TargettargetData
Optional
Named record alias this action operates on.
Output Aliasoutput_aliasData
Optional
Optional alias for the destination reference returned by this action.
ParametersparamsJSON
Optional
Structured data field. Preserve the required object format and validate it before using it in an integration.
Step Conditionstep_conditionCode
Optional
Optional. The step runs only if this expression is true.
Related Record Conditionrelated_conditionJSON
Optional
Optional. Checked against a related record.
Parent Stepparent_stepInt
Optional
Enter a whole-number value.
BranchbranchSelect
Optional
Choose one of the configured list values. Status fields may be controlled by the record workflow.
Available choices
  • If
  • Else

Troubleshooting

  • Not permitted: verify the account, role and source-document permission. Do not share an administrator login.
  • Missing record or address: inspect the relevant Link or Dynamic Link fields; a matching title alone does not establish a relationship.
  • Cannot save or change status: review required fields, read-only values, document status and the configured approval transition.
  • Unexpected report or portal result: review company/date filters, source-document submission and the approved party or Employee link.