Chat now with support
Chat with Support

Foglight Automation 5.6.3.8 - User and Reference Guide

Pre-installed ActionPacks

This section provides an overview of the ActionPacks that are included by default with the Foglight for Automation.

This ActionPack enables sending (New E-mail Action) and receiving (Get E-mails Action) e-mail messages.

This action creates and sends a new e-mail message.

To

String

E-mail address

Subject

String

Subject of the e-mail

Body

String

Body of the e-mail

This action logs in to a remote POP3 server and retrieves a given number (limit) of e-mail messages.

Host

String

IP address of POP3 host.

username

String

Username

password

String

Password

waitForMessages

Boolean

Flag that causes the action to wait for a message.

deleteReceived

Boolean

If true, the method will delete received messages on server.

limit

Integer

Expected number of received e-mails.

from

String

E-mail’s “From” text

subject

String

E-mail’s “Subject” text

Body

String

E-mail’s “Body” text

receivedCount

Integer

Number of received e-mails

leftCount

Integer

Number of e-mails remaining in the mailbox

ActionPack for Workflow Control

This ActionPack contains actions for workflow construction, and actions to manage workflow execution.

This action finishes workflow execution with the “Failed” state. The Workflow Failure action does not have input or output parameters.

This action finishes workflow execution with the “Succeeded” state. The Workflow Success action does not have input or output parameters.

This action launches the specified workflow, passing the input parameters in a JSON string. Output parameters are not supported.

Workflow GUID

String

Globally Unique Identifier (GUID) of the workflow.

Workflow parameters

String

Target workflow parameters. This string should contain a JSON representation of mappings for the target workflow parameters.

The string should be (preferably) enveloped in {}; all the text after the last “}” is ignored.

It is possible to use Resource references when providing workflow parameter mappings.

Example:

This action allows to create linked workflows. In other words, you can create a workflow that launches another workflow.

After you have added the Linked Workflow action to the Workspace and linked it to other action(s), do the following:

This action pauses the workflow execution for the specified number of seconds.

Pause for

Long integer

Time in seconds, during which the workflow will be paused

ActionPack for Resource Locking

This ActionPack provides the ability to lock resources (hosts, virtual machines, snapshots, and so on) so that other actions cannot update, delete, or move those locked resources.

This action tries to obtain a lock for a resource (waits infinitely).

resource

vfiTop resource

Resource to be locked

lockId

Long

Lock ID

This action tries to obtain a lock for a resource for the specified time limit.

resource

vfiTop resource

Resource to be locked

timeout

Long

Amount of time in seconds during which the action will try to obtain a lock

lockId

Long

Lock ID

This action makes a single attempt to obtain a lock on the named resource.

resource

vfiTop resource

Resource to be locked

lockId

Long

Lock ID

This action unlocks a resource lock.

lockId

Long

Lock identifier. You can take it from the output parameter of a lock action

This action unlocks all current workflow locks. Linked workflow locks are not processed. This action does not have input or output parameters.

This action looks for a lock that corresponds to the specified resource and unlocks it.

resource

vfiTop resource

Resource to be unlocked

 

Related Documents