A2v10 Platform Application Workflow UI
$ dotnet add package A2v10.Module.WorkflowWorkflow UI module for A2v10 application
<ItemGroup>
<PackageReference Include="A2v10.Module.Workflow" Version="10.1.1082" />
</ItemGroup>
Dependent Modules (A2v10.Workflow.WebAssets, A2v10.Workflow.Engine, A2v10.Scheduling) will be installed automatically.
services.AddWorkflowEngineScoped()
.AddInvokeTargets(a =>
{
a.RegisterEngine<WorkflowInvokeTarget>("Workflow", InvokeScope.Scoped);
});
services.UseScheduling(Configuration, factory =>
{
factory.RegisterJobHandler<WorkflowPendingJobHandler>("WorkflowPending");
});
"Scheduler": {
"Jobs": [
{
"Id": "WorkflowPending",
"Handler": "WorkflowPending",
"Cron": "0 * * ? * *" /* every minute */
}
]
}
page:/$workflow/catalog/index/0 - workflow catalogpage:/$workflow/instance/index/0 - workflow instancespage:/$workflow/autostart/index/0 - autostart catalog/$workflow/instance/show/{id} - show workflow instance/$workflow/instance/log/{id} - show instance log/$workflow/instance/variables/{id} - show instance variables/$workflow/instance/events/{id} - show instance eventsA2v10.Module.Workflow is released as open source under the MIT license. Bug reports and contributions are welcome at the GitHub repository.