CreateContext is invoked over the WebContext route on SAIF.Services.WCF.Services.WebContextService; this page documents the process end to end, from route dispatch to the message the caller receives.
Field
Value
Operation ID
OP-011
Trigger
Caller invokes CreateContext over the WebContext route, or WebContextService.Get calls it internally when locating the context id.
Return new WebContext(contextId) when contextId is non-blank, otherwise new WebContext(Guid.NewGuid().ToString()) (BR-WCF-015). The concrete WebContext type comes from the external contracts assembly.
The following diagram visualizes this process's control flow.
flowchart TD
A{"contextId non-blank?"}
B["Return new WebContext(contextId)"]
C["Return new<br>WebContext(Guid.NewGuid().ToString())"]
A -->|"Yes"| B
A -->|"No"| C
Note: Statements marked with * were inferred from code structure, naming
conventions, or contextual evidence where direct confirmation was not available
in source artifacts. Statements marked with ** could not be confirmed; treat
as unknown until verified.