Genpact Cora Knowledge Center

Support

PowerShell Function: Set-CoraSeQuenceBRSThreadConfiguration

V9.5

Module

CoraSeQuence.Services 

Description

Sets configuration of a Cora SeQuence BRS thread.

Syntax

Set-CoraSeQuenceBRSThreadConfiguration [-ServiceID <Int32>] [-Redirector] [-Interval <Int32>] [-PageSize <Int32>] [<CommonParameters>]
Set-CoraSeQuenceBRSThreadConfiguration [-ServiceID <Int32>] [-EmailSender] [-Interval <Int32>] [-SendRetries <Int32>] [-SiteUrl <Uri>] [<CommonParameters>]
Set-CoraSeQuenceBRSThreadConfiguration [-ServiceID <Int32>] [-ClosedInstancesSeparator] [-Interval <Int32>] [-PageSize <Int32>] [-StartAt <String>] [-StopAt <String>] [<CommonParameters>]

Parameters

-ServiceID <Int32>

The numeric ID of the BRS service instance. If not provided, the configuration is applied to all BRS instances deployed on the server.

Required?false
Position? named
Default value0
Accept pipeline input? false
Accept wildcard characters?  false

-Redirector [<SwitchParameter>]

Switch to configure the Redirector thread.

Required?false
Position? named
Default valueFalse
Accept pipeline input? false
Accept wildcard characters?  false

-EmailSender [<SwitchParameter>]

Switch to configure the Emailsender thread.

Required?false
Position? named
Default valueFalse
Accept pipeline input? false
Accept wildcard characters?  false

-ClosedInstancesSeparator [<SwitchParameter>]

Switch to configure the ClosedInstancesSeparator thread.

Required?false
Position? named
Default valueFalse
Accept pipeline input?false
Accept wildcard characters?  false

-Interval <Int32>

Interval (in minutes) to configure for the specified thread.

Required?false
Position? named
Default value0
Accept pipeline input?false
Accept wildcard characters?  false

-PageSize <Int32>

Page size to configure the Redirector and ClosedInstancesSeparator threads.

Required?false
Position? named
Default valueFalse
Accept pipeline input?false
Accept wildcard characters?  false

-SendRetries <Int32>

Number of retries when email sending fails. This is valid for EmailSender thread.

Required?false
Position? named
Default value0
Accept pipeline input?false
Accept wildcard characters?  false

-SiteUrl <Uri>

Flowtime site URL for EmailSender thread.

Required?false
Position? named
Default value
Accept pipeline input?false
Accept wildcard characters?  false

-StartAt <String>

Start hour in hh:mm format when ClosedInstancesSeparator thread is active. 

Required?false
Position? named
Default value
Accept pipeline input?false
Accept wildcard characters?  false

-StopAt <String>

Stop hour in hh:mm format when ClosedInstancesSeparator thread is active. 

Required?false
Position? named
Default value
Accept pipeline input?false
Accept wildcard characters?  false

<CommonParameters>

This command supports the common parameters: Verbose, Debug, ErrorAction, ErrorVariable, WarningAction, WarningVariable, OutBuffer, PipelineVariable, and OutVariable.
For more information, see about_CommonParameters.  

Example

PS C:\>Set-CoraSeQuenceBRSThreadConfiguration -EmailSender -Interval 5 -SendRetries 3 -SiteUrl "https://myflowtime.mycorp.com"
PS C:\>Set-CoraSeQuenceBRSThreadConfiguration -ServiceID 2 -Redirector -Interval 1 -PageSize 100