Next-Gen Workflow Configuration

Introduction

The Next-Gen Workflow Service has a local configuration file which can be found in the following directory:

%ALLUSERSPROFILE%\itsense\Configuration\ElsaWorkflow_ApplicationConfiguration.json

Properties

The configuration file offers the following properties, but is stored as an encrypted configuration after the first start:

Property

Data Type

Mandatory

Example

Description

Property

Data Type

Mandatory

Example

Description

PersitenceStorageDatabaseConnectionString

String

"Server=localhost;Port=3306;Database=moving_appcustomer_900000;User=dbuser;Password=aaadsfef;"

The connection string to the database

HangfireDatabaseConnectionString

String

"Server=localhost;Port=3306;Database=moving_appcustomer_900000;User=dbuser;Password=aaadsfef;Allow User Variables=True"

The connection string to access the Hangfire database

UseRedisDistributedLocking

Boolean

false

Whether or not to use Redis for locking

UseRedisDistributedCacheSignal

Boolean

false

Whether or not to use Redis for cache signaling

RabbitMqConnectionString

String

 

 

The connection string to RabbitMQ

RedisConnectionString

String

 

 

The connection string to Redis

ElsaApiEndpoints

API Endpoint

iTsense.ElsaWorkflow.Runner.Configuration.EndpointConfiguration

[ { "IpAddress": "127.0.0.1", "Port": 9001, "StoreName": "My", "StoreLocation": "LocalMachine", "CertificateSubjectName": "Default.Communication.CoreOne.ITSENSE.local" } ]

A list API endpoints under which the API will be hosted

ApplicationServiceApiConfiguration

Application Service Api Configuration

iTsense.ElsaWorkflow.Runner.ConfigurationApplicationServiceApiConfiguration

{ "Authority": "https://coslogin.local:5000", "ApiBaseUri": "https://localhost:8000/apiv2", "ClientId": "cos_workflowservice", "ClientSecret": "secret", "Username": "elsa_workflow_api_user", "Password": "asdfasdf", "AccessDeniedReplacementString": ">>AccessDenied<<", "ExplodeFlatChainProperties": true }

The configuration of how to access the Application Service API

FaultedWorkflowNotificationWorflowDefinitionId

String

WorkflowFaultedInfo

 

"655cc169cfcb4e11b613430a15cc40b6"

A workflow instance ID that will be executed each time a workflow fails. This can be user to configure notifications.

SmtpOptions

SMTP Options Elsa.Activities.Email.Options.SmtpOptions

 

If there is no connection to the Application Service but you still would like to send email like the faulted notifications, you can configure alternative SMTP settings.

iTsense.Elsa.Persitence.EntityFramework.MySql.EncryptionOptions

 

Available only from Version > 8.1.

This encryption option is used to encrpy the data column of a workflow instance.

Do not change this key ever after an installtion.

TimeToLiveInDaysForWorkflowInstances

unit?

 

30

How old a workflow instance is allowed to be before it will be deleted.

When the setting is not present, null or 0 the system will take the default value of 30 days.

© ITSENSE AG. Alle Rechte vorbehalten. ITSENSE und CoreOne sind eingetragene Marken der ITSENSE AG.