MCPcopy Create free account
hub / github.com/camunda/camunda-platform-get-started / JobHandler

Method JobHandler

csharp/Program.cs:69–76  ·  view source on GitHub ↗
(IJobClient jobClient, IJob activatedJob)

Source from the content-addressed store, hash-verified

67
68
69 private static void JobHandler(IJobClient jobClient, IJob activatedJob)
70 {
71 var variables = JsonConvert.DeserializeObject<Dictionary<string, string>>(activatedJob.Variables);
72
73 Log.LogInformation($"Sending email with message content: {variables[VariablesKey]}");
74
75 jobClient.NewCompleteJobCommand(activatedJob).Send();
76 }
77
78 private static IZeebeClient CreateZeebeClient()
79 {

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected