Saving and Computing Tasks

When you modify any option, parameter or data, these changes are made persistent in the process when you click the Save icon in the command bar of the task. Consequently, if you close and re-open the process, your modifications will still be present.

However, these changes will not affect the data produced by the task until it is computed by clicking on one of the following compute icons found in the command bar of the task.

Rulex Factory provides you with a lot of computation modes, which are listed below.

In the software’s interface these computation modes are divided into two main parts:

  • The flow computation modes, located in the Factory’s toolbar.

  • The task computation modes, that can be used by selecting and clicking the task.

 

Each task displays an icon which indicates its computational status and a progress bar with the percentage of computation completed (see below for details).


Computation Modes

Execution Mode

Description

Compute Process

Computes the whole process.

Compute Selected

Computes only the selected tasks.

Compute Onwards

Computes all the tasks downstream of the selected tasks.

Compute Up To

Computes all the tasks upstream of the selected tasks.

Compute In-memory

Computes all the tasks in the process, without saving the data and results in the database.

Normally when you compute a process all the its intermediate steps are saved in the database, which obviously takes time.

Computing a process with in In-Memory consequently speeds up the whole computation process.

 

Constraints and recommendations

  • in-memory computation can only be performed on a whole process, and not on parts of it

  • the process must have already been tested and debugged as you cannot evaluate intermediate steps of the process via a Data Manager task, for example.

  • one or more export tasks should be added to the end of the process to collect and view the results.

 

Compute In-memory (save sources data)

Computes all the tasks in the process, saving the output of the import tasks in the database at the end. This may be useful if you want to check the raw data.


Halo option

If you select and then click on the task, four buttons appear around it. If you want to perform operations at a task level, you need to select them by drawing a selecting area onto the stage, which includes the tasks we want to involve in the following operations

Name

Description

Delete

Located in the top-left corner of the task, this button deletes the task from the stage.

Compute selected

Located in the top-right corner of the task, this button computes only the selected task in the flow.

Compute onwards

Located in the lower-right corner of the task, this button computes all the tasks linked to the current one going from it onwards.

Compute up to

Located in the lower-left corner of the task, this button computes all the tasks linked to the current one and up to it.

 

The Halo option allows to quickly perform the most common operations with tasks without the need of opening the contextual menu.


Computational status icon

Status

Description

undefined

There is neither direct nor indirect link with one of the sources

ready

The task is connected to receive all the required tables and is ready for computation

pending

The task is involved in the computation of a group and will executed as soon as possible

running

The task is currently in execution.

storing

The task is currently storing the tables in the database.

computed

The task computation has been completed without errors.

dirty

The task computation has been completed but its options have been changed in the meanwhile.

Consequently the changes will not be propagated to the successive tasks in the process until the task is computed again.

error

An error has occurred during the execution.