Read-only demo.Generated sample data. Changes cannot be saved.

new-workflow

new-workflow Draft

Run from an endpoint

Workflows never run from game code. They run inside an endpoint step; the game calls that endpoint. No game-callable endpoint runs this workflow yet. This draft is not saved yet: save first, then this guide names your id.

This project has no enabled public key. Create one under API keys: game code needs it.

// Workflow "new-workflow" never runs from game code: it runs inside an endpoint step.
// Save an endpoint with the step from the Endpoint step tab, then call that endpoint:
var result = await NetworkStorage.CallEndpoint( "my-endpoint", new { } );
if ( !result.HasValue )
{
    return;
}
- id: run_new-workflow
  type: workflow
  workflow: new-workflow
  params:
    value: 0
My sbox-ns project ID is proj_a75070d69b083f0f16f827f1. I am working on the workflow "new-workflow" (params: value). Workflows never run from game code: they run inside an endpoint step. No game-callable endpoint runs it yet. Draft the endpoint step YAML that runs it with its params, validate with definition_check, and show me the C# that calls that endpoint with NetworkStorage.CallEndpoint once saved. Do not save anything without my confirm string.

New workflow

Choose an id using letters, numbers, underscore or hyphen. A fresh draft opens with this id; nothing is published until you save.

Confirm