How to register a license key
info
For more information on obtaining a license key, please visit this page.
Once you have received your key, register it using the integration approach that your application uses.
Workflow Engine Core
If you use Workflow Engine Core directly and create WorkflowRuntime manually, register the license key in WorkflowRuntime:
WorkflowRuntime.RegisterLicense("your license key text");
Workflow Engine Web API
If you use Workflow Engine Web API, add the license key in Program.cs when configuring WorkflowApiCoreOptions:
builder.Services.AddWorkflowApiCore(SetupWorkflowApiCore);
void SetupWorkflowApiCore(WorkflowApiCoreOptions options)
{
options.LicenseKey = "Put your license key here";
}
important
For Workflow Engine Core, this code must be executed before starting Workflow Engine.
The license key string must include the prefix of the company name or the prefix "TRIAL-".