Workflow
Overview
Encapsulate all necessary things for implement your tasks for platform workflow service.
Install
- ASOL.Core.Workflow - Base interface and implementation base class to implement own Workflow Tasks in your service.
Changelog
- 0.0.1.24135-dev
- .NET 8 support
- 0.0.1.14329-dev
- 0.0.1.14327-dev
- .NET 6 support
Dependency injection
Mandatory dependency injection for Workflow.
/// <summary>
/// Add workflow processing parts
/// </summary>
public static IServiceCollection AddWorkflow(this IServiceCollection services, IConfiguration configuration)
{
// Add own workflow action implementations
// services.AddTransient<IWorkflowAction, MyOwnAction>();
// Add workflow client and infrastructure for own workflow action implementations.
services.AddWorkflowClient(configuration);
services.AddWorkflowProcessing(configuration, "<<ApplicationCode>>");
//services.AddWorkflowMetadataImporter<Startup>("Resources.WorkflowTasksDefinition.json");
// services.AddTransient<SeedingWorkflowDocumentProvider>();
return services;
}