Remote Task Status

<< Click to Display Table of Contents >>

Navigation:  Actions > Remote Task >

Remote Task Status

This action allows you to save the state of the specified task to a variable.

The value can be a number from 0 to 4, or as a string:

Manual - (0). Task without triggers, or with triggers disabled in standby mode. It is possible to launch the task manually or start it from another task.

Idle - (1). The task is idle and has active triggers. Both manual and automatic start is possible when the trigger is triggered.

Disabled - (2). The task is in edit mode. The task cannot be started.

Running - (3). The task is being completed. Restarting is possible only after the completion of the task.

Stopping - (4). The task has received a halt signal and is waiting for the current step to complete. The task will only stop after the current step is completed.

 

RemoteTaskStatus

 

Select task by ...

You can specify a task in two ways:

by External Name - this method is preferable because you can define the External Name yourself to identify the task (see Task Editor -> Advanced)

by Task ID - if you know the ID, you can specify the task ID directly. Task ID is a formal unique number. It is assigned once when creating or importing a task and does not change during the "life" of the task.

 

Task External name or Task ID

The title of this field changes depending on the value of the task selection mode. Specify the External Name or TaskID, respectively. Variables can be used.

 

Select task from list

External Name or TaskID can be selected interactively from the list. To do this, the first time you need to enter the parameters for connecting to the remote RoboTask to get the list. The connection parameters are saved for the next sessions.

 

Save status to variable

Specify the name of the variable where you want to store the status value.

 

Status value as

The value can be either an integer or a string:

Integer value - is a status as an integer number from 0 to 4.

String value - is a status as a string: Manual, Idle, Disabled, Running, Stopping

 

note Related Topics

Remote Task Connect

Remote Task Disconnect

Enable/Disable Remote Task

Start Remote Task

Stop Remote Task

Wait for Remote Task

Active Connections Loop