Codeunit 490 "Parallel Session Management"
Base Application · System.Threading
Across versions
- BC23-30present
Neighbourhood 1 connected objects and pages
Base Application · System.Threading · BC23-30 · source at 4e6a307c · facts from BC29
Procedures
NewSessionRunCodeunitWithRecord(CodeunitId: Integer; Parameter: Text; RecordIDToRun: RecordID): BooleanNewSessionRunCodeunitWithBlob(CodeunitId: Integer; Parameter: Text; var TempBlob: Codeunit "Temp Blob"): BooleanNewSessionRunCodeunit(CodeunitId: Integer; Parameter: Text): BooleanNoOfActiveJobs(): IntegerWaitForAllToFinish(TimeOutInSeconds: Integer): BooleanRunHeartbeat()GetMaxNoOfSessions(): IntegerSetMaxNoOfSessions(NewMaxNoOfSessions: Integer)
Plus 4 local procedures.
Triggers
OnRun
Called by
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 8614 “Config. XML Exchange” (2 calls:
ImportPackageXMLDocument → NewSessionRunCodeunitWithBlob,ImportPackageXMLDocument → WaitForAllToFinish)
Possibly related
No source states these links: they share an object, a model read them, or a person found the same subject.
- Upgrading Microsoft System and Base Application to Version 24 — possibly related: Supports parallel processing during version 24 upgrade data migration tasks (model-linked)
Heads up (community)
Warnings from posts and videos that name this object or one of its events; each says what it applies to.
- warning: “WaitForAllToFinish can occupy a session for up to 3600 seconds, doing nothing but sleeping and polling.” — Dynamics 365 Business Central: the mistery around the “Parallel Session Management” codeunit., applies to Codeunit 490 “Parallel Session Management”
- warning: “You will never see this codeunit exposed for SaaS as is.” — Dynamics 365 Business Central: the mistery around the “Parallel Session Management” codeunit., applies to Codeunit 490 “Parallel Session Management”
Source: AL metadata extracted from the code (names, ids, signatures, properties); no code bodies (D10).
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: "Parallel Session Management"), then bcatlas_get_procedure_body or bcatlas_get_neighbors on the returned id.