Table 1502 "Workflow Step"
Base Application · System.Automation
Across versions
- BC23present
- BC24declaration changed
- BC25-26unchanged
- BC271 events added
- BC28-30unchanged
Neighbourhood 14 connected objects and pages
Base Application · System.Automation · BC23-30 · source at ea08af5e · facts from BC29
Properties
| Property | Value |
|---|---|
| Caption | Workflow Step |
| DataClassification | CustomerContent |
| Permissions | tabledata “Workflow Step” = r, TableData “Workflow Step Instance” = rimd, TableData “Workflow Step Argument” = ri, TableData “Workflow Rule” = rimd |
Fields
Explanation: the field’s ToolTip in the code; without one, the ToolTip of a page control bound to the field (marked via the page); without that, its Caption (marked caption) when that differs from the name.
| No. | Name | Type | Explanation | Notes |
|---|---|---|---|---|
| 1 | ID | Integer | — | AutoIncrement |
| 2 | Workflow Code | Code[20] | — | TableRelation Table 1501 “Workflow”; NotBlank |
| 4 | Description | Text[100] | — | |
| 9 | Entry Point | Boolean | — | |
| 11 | Previous Workflow Step ID | Integer | — | TableRelation Table 1502 “Workflow Step” (“Workflow Step”.ID where(“Workflow Code” = field(“Workflow Code”))) |
| 12 | Next Workflow Step ID | Integer | — | TableRelation Table 1502 “Workflow Step” (“Workflow Step”.ID where(“Workflow Code” = field(“Workflow Code”))) |
| 13 | Type | Option | — | OptionCaption: Event,Response,Sub-Workflow |
| 14 | Function Name | Code[128] | — | TableRelation Table 1501 “Workflow”, Table 1520 “Workflow Event”, Table 1521 “Workflow Response” (if (Type = const(Event)) “Workflow Event” else if (Type = const(Response)) “Workflow Response” else if (Type = const(“Sub-Workflow”)) Workflow) |
| 15 | Argument | Guid | — | TableRelation Table 1523 “Workflow Step Argument” (“Workflow Step Argument” where(Type = field(Type))) |
| 16 | Sequence No. | Integer | — |
Keys
- Key1: Workflow Code, ID (clustered)
- Key2: Sequence No.
- Key3: Function Name, Type
- Key4: Entry Point, Previous Workflow Step ID
Events published
OnBeforeCreateInstance(WorkflowCode: Code[20])+ BC27 (integration)
Procedures
CreateInstance(WorkflowInstanceID: Guid; WorkflowCode: Code[20]; PreviousWorkflowStepID: Integer; SubWorkflowStep: Record "Workflow Step")ConvertEventConditionsToFilters(RecRef: RecordRef)DeleteEventConditions()OpenEventConditions()OpenAdvancedEventConditions()CompareEventConditions(WorkflowStep: Record "Workflow Step"): BooleanCompareEventRule(WorkflowStep: Record "Workflow Step"): BooleanInsertAfterStep(var NewWorkflowStep: Record "Workflow Step")LookupOtherWorkflowStepID(var LookupID: Integer): BooleanGetDescription(): Text[250]ToString(): TextFindByAttributes(WorkflowStepAttributes: Text)GetConditionAsDisplayText(): TextGetRuleAsDisplayText(): TextHasEventsInSubtree(var ChildWorkflowStep: Record "Workflow Step"): BooleanFindWorkflowRules(var WorkflowRule: Record "Workflow Rule"): BooleanHasWorkflowRules(): BooleanSetFilters(var WorkflowRule: Record "Workflow Rule")HasParentEvent(var WorkflowStep: Record "Workflow Step"): Boolean
Plus 7 local procedures.
Triggers
OnDelete, OnInsert, OnModify, OnRename
Relations
- lookup page Page 1503 “Workflow Steps”
- Function Name: TableRelation Table 1501 “Workflow” (conditional)
- Workflow Code: TableRelation Table 1501 “Workflow”
- Next Workflow Step ID: TableRelation Table 1502 “Workflow Step”
- Previous Workflow Step ID: TableRelation Table 1502 “Workflow Step”
- Function Name: TableRelation Table 1520 “Workflow Event” (conditional)
- Function Name: TableRelation Table 1521 “Workflow Response” (conditional)
- Argument: TableRelation Table 1523 “Workflow Step Argument”
Referenced by
12 fields in 5 objects relate to this table (TableRelation or CalcFormula).
- Table 1504 “Workflow Step Instance”: Original Workflow Code, Original Workflow Step ID, Workflow Code, Workflow Step ID
- Table 1507 “Workflow Step Buffer”: Event Step ID, Parent Event Step ID, Previous Workflow Step ID, Response Step ID
- Table 1502 “Workflow Step”: Next Workflow Step ID, Previous Workflow Step ID
- Table 1523 “Workflow Step Argument”: Type
- Table 1524 “Workflow Rule”: Workflow Step ID
Pages and codeunits on this table
- Page 2147 “APIV2 - Workflow Steps” (source table)
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.
- Codeunit 1521 “Workflow Response Handling” (1 call:
GetDescription → GetDescription) - Codeunit 1530 “Request Page Parameters Helper” (1 call:
ConvertEventConditionsToFilters → ConvertParametersToFilters) - Codeunit 4100 “Temp Blob” (1 call:
ConvertEventConditionsToFilters → FromRecord) - Page 1503 “Workflow Steps” (1 call:
LookupOtherWorkflowStepID → (object))
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: "table", object_name: "Workflow Step"), then bcatlas_get_procedure_body or bcatlas_get_neighbors on the returned id.