Consider SessionId in wf and invoke api with http
This commit is contained in:
@@ -5,7 +5,7 @@
|
||||
<ImplicitUsings>enable</ImplicitUsings>
|
||||
<Nullable>enable</Nullable>
|
||||
<PackageId>Caspian.WorkflowFramework</PackageId>
|
||||
<Version>1.1.0-preview.21</Version>
|
||||
<Version>1.1.0-preview.22</Version>
|
||||
<Authors>Behzad Alizadeh</Authors>
|
||||
<Company>Caspian</Company>
|
||||
<Product>Caspian.WorkflowFramework</Product>
|
||||
|
||||
@@ -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