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/Visit Task — entity reference
REFERENCE · Last reviewed

Visit Task — entity reference

One task card inside a Visit's execution flow (visitId), materialized from a VisitTaskTemplateEntry when the visit's task template is set - the handler deletes and recreates the visit's tasks when visitTaskTemplateId changes. Carries the entry's taskType, sequence and hidden flag; Status transitions stamp actuals (Started sets startTime, Completed sets endTime). The actual data capture happens in child VisitTaskActivity rows. Updates are gated to the resource the parent plan is assigned to (VisitAssignmentGuard).

Fields

FieldLabelTypeRequiredWhat it does
CreatedByIdCreated ByLookup → UserAccountYes
CreatedDateTimeCreated DateDateAndTimeYes
DurationDurationCalculated (calculated)
EndTimeEnd TimeTimeOnly
IdIdGuidYes
IsHiddenIs HdenBooleanYes
ModifiedByIdModified ByLookup → UserAccountYes
NameNameText
OwnerIdOwnerLookup → UserAccountYes
PlannedDurationPlanned DurationCalculated (calculated)
PlannedEndTimePlanned End TimeTimeOnly
PlannedStartTimePlanned Start TimeTimeOnly
RecordTypeIdRecord TypeGuid, hidden
SequenceNumberSequence NumberNumber
StartTimeStart TimeTimeOnly
StatusStatusPickListTask lifecycle (Pending, Started, Completed on mobile). Entering Started stamps startTime and Completed stamps endTime; execution updates are gated to the plan's assigned resource. Values: Planned, Started, Completed, Cancelled.
TaskDurationTask DurationCalculated (calculated)Derived from the linked template entry's taskDuration (the planned minutes authored on the template), not an independent stored value on the task.
TaskNameTaskNameLongMultiLineText
TaskNumberTaskNumberNumber
TaskTypeTask TypePickListValues: Perform Visit Activities.
UIPropsUI PropsText
UpdatedDateTimeModified DateDateAndTimeYes
VisitIdVisitLookup → VisitYes
VisitTaskTemplateEntryIdVisit Task Template EntryLookup → VisitTaskTemplateEntryThe template entry this task instantiates. Changing it repopulates the task's activity rows from the entry's template activities.

Actions

ActionLabelTypeWhat it does
BulkDeleteDeleteDeleteDelete
CloneCloneServerAction (Clone)Create a copy of this record
DeleteDeleteDeleteDelete
DeleteEntityDeleteDeleteDeleteEntity
DeleteInListDeleteDeleteDelete
EditEditEditEdit
EditEntityEditEditEditEntity
EditInLineEditEditInlineEdit
EditInListHeaderEditEditInlineEdit In List Header
NewNewNewNew