Initialize the workflow host specifying default credentials for SOM sessions created for timers. This includes setting up timers for pending timeouts in currently persisted workflows.
Namespace: Scanjour.Workflow4.Host
Assembly: Scanjour.Workflow4.Host (in Scanjour.Workflow4.Host.dll) Version: 22.1.0.0 (22.1.0.0)
Syntax
public void Initialize( string logOnUserName, string logOnPassword, string serverNamePostfix, uint maxTimerMilliseconds, uint watchInterval = 0, uint watchDelay = 0 )
Parameters
- logOnUserName
- Type: SystemString
The logon user name to be used when the WorkflowHost creates new SOM sessions - logOnPassword
- Type: SystemString
The logon password to be used when the WorkflowHost creates new SOM sessions - serverNamePostfix
- Type: SystemString
A name that will be used as postfix for the server name for the WorkflowHost - maxTimerMilliseconds
- Type: SystemUInt32
The maximum delay allowed in milliseconds for resuming a workflow instance - watchInterval (Optional)
- Type: SystemUInt32
The interval between searches for lost workflow instances. - watchDelay (Optional)
- Type: SystemUInt32
The time period passed before a workflow instance is considered lost.
See Also