codeunitAL Developmentofficial - Microsoftderived - from the source, no model text

Codeunit 1501 "Workflow Management"

Base Application · System.Automation

Across versions

  1. BC23-28present
  2. BC291 events added
  3. BC30unchanged

Neighbourhood 29 connected objects and pages

Codeunit 1520 "Workflow Event Handling" (calls, 48 links)Workflow Event HandlingCodeunit 1535 "Approvals Mgmt." (calls, 23 links)Approvals Mgmt.Codeunit 20426 "Qlty. Start Workflow" (calls, 4 links)Qlty. Start WorkflowCodeunit 1541 "Workflow Webhook Events" (calls, 3 links)Workflow Webhook EventsCodeunit 20425 "Qlty. Workflow Approvals" (calls, 3 links)Codeunit 1503 "Workflow Record Management" (calls, 2 links)Workflow Record ManagementCodeunit 1521 "Workflow Response Handling" (calls, 2 links)Workflow Response HandlingCodeunit 1530 "Request Page Parameters Helper" (calls, 2 links)Request Page Parameters HelperCodeunit 6279 "Sust. Approvals Mgmt." (calls, 2 links)Sust. Approvals Mgmt.Codeunit 6280 "Sust. Workflow Event Handling" (calls, 2 links)Page 21 "Customer Card" (calls, 2 links)Customer CardPage 256 "Payment Journal" (calls, 2 links)Codeunit 1536 "Approvals Journal Line Request" (calls)Approvals Journal Line RequestCodeunit 4100 "Temp Blob" (calls)Codeunit 6400 "Flow Service Management" (calls)Flow Service ManagementCodeunit 8703 "Feature Telemetry" (calls)Feature TelemetryPage 1501 "Workflow" (calls)WorkflowPage 22 "Customer List" (calls)Customer ListPage 255 "Cash Receipt Journal" (calls)Page 30 "Item Card" (calls)Page 31 "Item List" (calls)Page 39 "General Journal" (calls)Page 6219 "Sustainability Journal" (calls)Table 1504 "Workflow Step Instance" (calls)Table 1507 "Workflow Step Buffer" (calls)Table 1520 "Workflow Event" (calls)Table 1521 "Workflow Response" (calls)Table 233 "Item Journal Batch" (calls)Table 245 "Requisition Wksh. Name" (calls)

Open in the neighbourhood explorer

One hop out, from the extracted relations and call graph. Up to 40 shown; the sections below list them all.

Base Application · System.Automation · BC23-30 · source at ea08af5e · facts from BC29

Properties

Property Value
Permissions TableData Workflow = R, TableData “Workflow Step” = R, TableData “Workflow Step Instance” = Rimd, TableData “Workflow Table Relation Value” = rimd, tabledata “Workflow Event” = r, TableData “Workflow Event Queue” = rimd, TableData “Workflow Step Argument” = rd, TableData “Workflow - Record Change” =…

Events published

  • OnBeforeHandleEventWithxRec(FunctionName: Code[128]; Variant: Variant; xVariant: Variant; var IsHandled: Boolean) (integration)
  • OnAfterEvaluateCondition(RecRef: RecordRef; xRecRef: RecordRef; ArgumentID: Guid; var WorkflowRule: Record "Workflow Rule"; var Result: Boolean) (integration)
  • OnFindWorkflowStepInstanceWithOptionalWorkflowStartOnAfterSetWorkflowStepInstanceLoopFi1tersWhenNotStartWorkFlow(RecordRef: RecordRef; var WorkflowStepInstanceLoop: Record "Workflow Step Instance"; FunctionName: Code[128]; StartWorkflow: Boolean) (integration)
  • OnFindWorkflowStepInstanceWithOptionalWorkflowStartOnAfterSetWorkflowStepInstanceLoopFi1ters(RecordRef: RecordRef; var WorkflowStepInstanceLoop: Record "Workflow Step Instance"; FunctionName: Code[128]; StartWorkflow: Boolean) (integration)
  • OnAfterSetFilterWorkflowStep(var WorkflowStep: Record "Workflow Step") + BC29 (integration)

Procedures

  • TrackWorkflow(Variant: Variant; var WorkflowStepInstance: Record "Workflow Step Instance")
  • FindWorkflowStepInstance(Variant: Variant; xVariant: Variant; var WorkflowStepInstance: Record "Workflow Step Instance"; FunctionName: Code[128]): Boolean
  • CanExecuteWorkflow(Variant: Variant; FunctionName: Code[128]): Boolean
  • MarkChildrenStatus(WorkflowStepInstance: Record "Workflow Step Instance"; NewStatus: Option)
  • MarkSiblingStatus(WorkflowStepInstance: Record "Workflow Step Instance"; NewStatus: Option)
  • UpdateStatus(var WorkflowStepInstance: Record "Workflow Step Instance"; NewStatus: Option; ChildrenStatus: Option; SiblingsStatus: Option)
  • FindWorkflow(RecRef: RecordRef; xRecRef: RecordRef; FunctionName: Code[128]; var Workflow: Record Workflow): Boolean
  • WorkflowExists(Variant: Variant; xVariant: Variant; FunctionName: Code[128]): Boolean
  • ArchiveWorkflowInstance(WorkflowStepInstance: Record "Workflow Step Instance")
  • FindResponse(var ResponseWorkflowStepInstance: Record "Workflow Step Instance"; PreviousWorkflowStepInstance: Record "Workflow Step Instance"): Boolean
  • FindEventWorkflowStepInstance(var WorkflowStepInstance: Record "Workflow Step Instance"; FunctionName: Code[128]; Variant: Variant; xVariant: Variant): Boolean
  • HandleEvent(FunctionName: Code[128]; Variant: Variant)
  • HandleEventWithxRec(FunctionName: Code[128]; Variant: Variant; xVariant: Variant)
  • HandleEventOnKnownWorkflowInstance(FunctionName: Code[128]; Variant: Variant; WorkflowStepInstanceID: Guid)
  • HandleEventWithxRecOnKnownWorkflowInstance(FunctionName: Code[128]; Variant: Variant; xVariant: Variant; WorkflowStepInstanceID: Guid)
  • ExecuteResponses(Variant: Variant; xVariant: Variant; ActionableWorkflowStepInstance: Record "Workflow Step Instance")
  • GetTelemetryDimensions(FunctionName: Text; SerializedWorkflowStepInstance: Text; var Dimensions: Dictionary of [Text, Text]) (internal)
  • ChangeStatusForResponsesAndEvents(WorkflowStepInstance: Record "Workflow Step Instance")
  • EnabledWorkflowExist(TableNo: Integer; EventFilter: Text): Boolean
  • NavigateToWorkflows(TableNo: Integer; EventFilter: Text)
  • BuildConditionDisplay(WorkflowStep: Record "Workflow Step"): Text[100]
  • ClearSupportedCombinations(FunctionName: Code[128]; WFEventResponseCombinationType: Option "Event",Response)
  • AnyWorkflowExists(): Boolean

Plus 17 local procedures.

Triggers

OnRun

Calls

From the extracted call graph of BC29 (graphify-al on the snapshot checkout): calls whose target is known from a declared type or an Object::"Name" argument. Interface dispatch and calls through events are not counted, so the list is not complete.

Called by

Recent changes

Ask your agent

Procedure bodies are not stored here (D10). The call sections above are our own, per object, from the BC29 call graph. For a procedure body or the calls of one procedure, ask bc-code-atlas (external, by Stefan Maron, MIT; default corpus w1-28), which the bc-observatory plugin connects: bcatlas_resolve_node(object_type: "codeunit", object_name: "Workflow Management"), then bcatlas_get_procedure_body or bcatlas_get_neighbors on the returned id.

Evidence 1 sources