Install and Configure the Workflow Task Runner¶
The Workflow Task Runner is a command line task runner that performs workflow replication operations.
Prerequisites¶
The Workflow TaskRunner requires .net 8 to be installed.
Download and install the Windows .NET Runtime 8.0.x from https://dotnet.microsoft.com/download/dotnet/8.0
Deploy the Colectica Workflow TaskRunner¶
First, make sure the Colectica Workflow web application is installed and configured.
Download the Colectica Workflow TaskRunner package. This will be named
ColecticaWorkflowTaskRunner-version.zip
and should be included with your Colectica Workflow delivery.Before extracting the Workflow TaskRunner package, make sure Windows does not have the file blocked. To check this:
In Windows Explorer, right click the Zip file and choose Properties.
Near the bottom of the Properties window, in the Security area, see if there is a checkbox labeled Unblock.
If there is an Unblock checkbox, check the box and click OK.
If there is no such checkbox, proceed to the next step.
Extract the contents of the Elastic Indexer package. In this documentation, the directory to which you extract the file will be referred to as
ColecticaWorkflowTaskRunner\
.Edit Workflow Task Runner Config files.
In the
ColecticaWorkflowTaskRunner\
directory, rename theappsettings.json.dist
configuration file toappsettings.json
.Update the Workflow Task Runner’s configuration settings. The configuration in the Workflow Task Runner is the same as the Workflow configuration in the Workflow Web application. Use the same settings from the Workflow Web application’s configuration file.
Run the Workflow Task Runner¶
Open a command shell and navigate to
ColecticaWorkflowTaskRunner\
.Run the following command:
`
Colectica.Workflow.TaskRunner.exe
`
Reoccurring task for the Task Runner¶
The Workflow Task Runner should be run periodically to perform the workflow operations using the Windows Task Scheduler. An interval of 5 minutes is recommended. Also set the Start In directory to the directory containing the task runner executable.
Note
For more information about Windows Task Scheduler, see https://docs.microsoft.com/en-us/windows/win32/taskschd/task-scheduler-start-page