SQS - End Session

 

Declaration

<AMAWSSQS ACTIVITY="end_session" />

See Also

SQS - Add Permission | SQS - Change Message Visibility | SQS - Create Queue | SQS - Create Session | SQS - Delete Message | SQS - Delete Queue | SQS - End Session | SQS - Get Queue Attributes | SQS - List Queues | SQS - Receive Message | SQS - Remove Permission | SQS - Send Message | SQS - Set Queue Attributes

Description

Ends an SQS session previously created with the use of the Create Session activity.

IMPORTANT: The SQS activities in AutoMate use the Amazon's SQS engine to perform their work. Because of this, you must have a valid Amazon SQS service account to use these activities.

Practical Usage

Used to end an existing SQS session.

Parameters

Credentials Properties

Property

Type

Req'd

Default

Markup

Description

Session Name

Text

Yes

(Empty)

SESSION="SQSSession2"

Specifies the name of the session to end.

NOTE: To start a session, use the Create Session activity.

Description Properties

The Description tab allows you to customize the text description of any step as it appears in the Task Builder's Steps Pane.

More on setting custom step description

Error Causes Properties

The Error Causes tab properties allows you to instruct a task step to react only to specific errors or ignore certain errors that should cause it to fail.

More on Error Causes properties

On Error Properties

The On Error tab properties lets you determine what the task should do if a particular step encounters an error as defined in the Error Causes properties.

More about On Error properties

Notes

Expressions, Variables and Functions

All text fields allow the use of expressions such as variables, functions or AutoMate extended functions, which can be entered by surrounding the expression in percentage signs (example: %FileDateTime(myVar)% or %myVar%, %Left('Text',2)%). To help construct these expressions, you can open Expression Builder from these fields by clicking the Insert Expression (%) button or by pressing F2.

More on expressions

More on variables

More on function

More on extended functions
More on the expression builder

Example

NOTE: The code below can be copied and pasted directly into the Steps pane of the Task Builder.

 

 

<AMAWSSQS ACTIVITY="end_session" />

 

↑ [Top of Page]