Consider SessionId in wf and invoke api with http
This commit is contained in:
@@ -5,7 +5,7 @@
|
|||||||
<ImplicitUsings>enable</ImplicitUsings>
|
<ImplicitUsings>enable</ImplicitUsings>
|
||||||
<Nullable>enable</Nullable>
|
<Nullable>enable</Nullable>
|
||||||
<PackageId>Caspian.WorkflowFramework</PackageId>
|
<PackageId>Caspian.WorkflowFramework</PackageId>
|
||||||
<Version>1.1.0-preview.21</Version>
|
<Version>1.1.0-preview.22</Version>
|
||||||
<Authors>Behzad Alizadeh</Authors>
|
<Authors>Behzad Alizadeh</Authors>
|
||||||
<Company>Caspian</Company>
|
<Company>Caspian</Company>
|
||||||
<Product>Caspian.WorkflowFramework</Product>
|
<Product>Caspian.WorkflowFramework</Product>
|
||||||
|
|||||||
@@ -127,9 +127,9 @@ public static class DependencyInjection
|
|||||||
// engine.Execute("function sayHelloWorld() { return greet('World'); }");
|
// engine.Execute("function sayHelloWorld() { return greet('World'); }");
|
||||||
//});
|
//});
|
||||||
})
|
})
|
||||||
|
// برای ثبت Activityهایی مانند Elsa.SendHttpRequest
|
||||||
|
.UseHttp()
|
||||||
.UseWorkflowContexts();
|
.UseWorkflowContexts();
|
||||||
|
|
||||||
//elsa.AddFastEndpointsAssembly<Program>();
|
|
||||||
});
|
});
|
||||||
|
|
||||||
// Optionally configure recurring tasks using alternative schedules.
|
// Optionally configure recurring tasks using alternative schedules.
|
||||||
@@ -172,7 +172,7 @@ public static class DependencyInjection
|
|||||||
// Captures unhandled exceptions and returns a JSON response.
|
// Captures unhandled exceptions and returns a JSON response.
|
||||||
app.UseJsonSerializationErrorHandler();
|
app.UseJsonSerializationErrorHandler();
|
||||||
|
|
||||||
//app.UseWorkflows();
|
app.UseWorkflows();
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user