xMatix
Sign in Request demo
xMatix
PRODUCTS
SalesField SalesCRMRewardsClaimsInventoryProcurementWarehouse ManagementField ServiceServiceSupportTelephony & MessagingFinance & AccountingPayrollExpense ManagementCommercePortalsAnalytics & ReportingData StudioMobile AppSee all products →
PLATFORM
Platform overviewApp BuilderAutomationIntegrationsSecurity & GovernanceChange ManagementDevelopers
SENSE AI
Sense AI overviewSense AssistSense ControlSense VisionAI StudioTrust & governanceIn Claude & ChatGPTUse cases
SOLUTIONS
FMCG & DistributionManufacturing & Dealer NetworksAutomotive & DealershipsPharma & HealthcareConsumer DurablesAgri-InputsBuilding MaterialsService NetworksWarehousing & 3PLFinancial AccountingERP SoftwareIndia GST ComplianceUAE VAT & e-InvoicingSaudi ZATCA & VATAll solutions →
RESOURCES
Knowledge CenterDeveloper & CLIBlogGuidesWhat is xMatix?Company facts
COMPANY
AboutCareersPartnersEventsContactAuthorsLegal
Sign in Request demo
Home/Docs/Entity Reference/Macro Step — entity reference
REFERENCE · Last reviewed

Macro Step — entity reference

One ordered action inside a Macro, linked by macroId and executed in stepOrder sequence. stepType selects the action - SetField, SendTemplate, PauseSla, ResumeSla, AddNote, CreateTask or CloseCase - and the parameter fields are reused per type: SetField reads targetField and value, SendTemplate reads templateId, AddNote and CreateTask read value as the note text or task subject. The value text supports placeholder substitution from the target record's fields.

Fields

FieldLabelTypeRequiredWhat it does
MacroIdMacroLookup → MacroYes
StepOrderStep OrderNumberExecution order within the macro - steps run strictly ascending by this number.
StepTypeStep TypePickListSelects the action: SetField, SendTemplate, PauseSla, ResumeSla, AddNote, CreateTask or CloseCase. The parameter fields are interpreted per type - SetField uses targetField plus value, SendTemplate uses templateId, AddNote and CreateTask use value. Values: SetField, SendTemplate, PauseSla, ResumeSla, AddNote, CreateTask, CloseCase.
TargetFieldTarget FieldTextFor SetField/ChangeStatus: the metadata field to set (ChangeStatus falls back to Status when empty). For CallServerAction it is repurposed as the server-action name to invoke. Unused by other step types.
TemplateIdEmail TemplateGuidThe EmailTemplate rendered by a SendTemplate step (rendered against the target record; a failed render falls back to a stub draft rather than aborting the macro). Unused by other step types.
ValueValueTextMeaning depends on stepType: the value to assign for SetField, the note text for AddNote, the task subject for CreateTask. Supports placeholder substitution from the target record's fields.

Actions

ActionLabelTypeWhat it does
CloneCloneServerAction (Clone)Create a copy of this record
DeleteEntityDeleteDeleteDeleteEntity
DeleteHeaderDeleteDeleteDeleteHeader
DeleteRowDeleteDeleteDeleteRow
EditEntityEditEditEditEntity
EditInLineEditEditInlineEdit in page.
EditRowEditEditEdit
NewNewNewNew
  • Macro — looks up via MacroId