Skip to end of metadata
Go to start of metadata

You are viewing an old version of this page. View the current version.

Compare with Current View Page History

Version 1 Next »

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

PersitenceStorageDatabaseConnectionString

String

(tick)

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

The connection string to the database

HangfireDatabaseConnectionString

String

(tick)

"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

(tick)

false

Whether or not to use Redis for locking

UseRedisDistributedCacheSignal

Boolean

(tick)

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

(tick)

[
    {
        "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

(tick)

{
    "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

{
    "DeliveryMethod": "Network",
    "Host": "localhost"
  }

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.

  • No labels