Consider SessionId in wf and invoke api with http
This commit is contained in:
@@ -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();
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user