Consider SessionId in wf and invoke api with http

This commit is contained in:
Behzad Alizadeh
2026-07-22 15:05:17 +03:30
parent 83738f809b
commit b144c07970
2 changed files with 4 additions and 4 deletions
@@ -127,9 +127,9 @@ public static class DependencyInjection
// engine.Execute("function sayHelloWorld() { return greet('World'); }");
//});
})
// برای ثبت Activityهایی مانند Elsa.SendHttpRequest
.UseHttp()
.UseWorkflowContexts();
//elsa.AddFastEndpointsAssembly<Program>();
});
// Optionally configure recurring tasks using alternative schedules.
@@ -172,7 +172,7 @@ public static class DependencyInjection
// Captures unhandled exceptions and returns a JSON response.
app.UseJsonSerializationErrorHandler();
//app.UseWorkflows();
app.UseWorkflows();
}
}