Deploying Resources
Deploy BPMN, DMN, or Form files from disk:
using Camunda.Orchestration.Sdk;
using var client = CamundaClient.Create();
var result = await client.DeployResourcesFromFilesAsync(["process.bpmn", "decision.dmn"]);
Console.WriteLine($"Deployment key: {result.DeploymentKey}");
foreach (var process in result.Processes)
{
Console.WriteLine($" Process: {process.ProcessDefinitionId} (key: {process.ProcessDefinitionKey})");
}