10  Monitor Tasks

Tasks are created when notebooks or paragraphs are executed by the Notebook users. It is important to know the status of the execution whether the tasks are created, rejected, cancelled, and so on. The Tasks page allows you to view the status of the task and associated notebooks, paragraphs, interpreters, and so on. By default, all the tasks are listed on the Task page. You can view the specific task using filters such as status of the task, date of creation, name of the notebook.

Topics:

·        View Tasks Using Status

·        View Tasks Using Time of Creation

·        View Tasks Using Names of Notebook  

View Tasks Using Status

Use this section to filter the tasks by their status, for example, created, rejected, queued, canceled, and so on.

To view task using the status filter, follow these steps:

1.        In the Crime & Compliance Studio menu list, click Tasks. By default, the Tasks page lists all the tasks of FCC Studio and displays the notebook, paragraph, interpreter, and user associated with each task. The status filters are displayed on the top of the page. For example, Created, Rejected, and so on.

 

2.      To filter the tasks based on the status, click the required status or statuses (created, error, rejected, and so on).

The tasks in those statuses are displayed with the associated Notebooks, Paragraphs, and Interpreters.

Table 24 describes the list of statuses.

Table 24:   Task Statuses fields and description

Field

Description

created

The task is just created.

queued

The task is in a queue, waiting to be run. This can happen when the same user runs multiple paragraphs of the same interpreter in the same notebook - the interpreter will first finish executing the first paragraph (that is., task) and then moves to the second task which will have status queued until then.

running

The tasks are being executed.

rejected

The task is rejected.

success

The task is completed.

canceled

The execution of the task is canceled (for example, by clicking the 'Cancel Execution' ( "Stop" ) button on a paragraph).

error

An error occurred during the execution of a task. The error can be one of the following:

·        The concerned interpreter is unsupported

·        The interpreterClient is disconnected

·        The task is not found

·        The status of the task cannot be changed to running or success

 

View Tasks Using Time of Creation

Use this section to filter the tasks by their time of creation, for example, last hour, last 24 hours, last 7 days, and so on.

To filter tasks using  date and time, follow these steps:

1.       Select the required task creation time or days, for example, last hour, last 24 hours, last 30 days, and so on.

tasks_date_time.png 

The following is the list of available options

§        Last Hour

§        Last 24 Hours

§        Last 7 days

§        Last 30 days

§        Custom: Allows the user to enter a specific date range (From and To date-time). If it is empty, it assumes an infinite past or future.

2.      To specify the date range, click Custom. The date range is displayed.

3.      Select date range and time using the calendar .  The respective tasks are displayed.

View Tasks Using Names of Notebook

Use this section to filter the tasks by the search field. This filter allows you to filter the tasks based on the notebook name, paragraph title, paragraph code, interpreter, and user.

To filter Tasks, follow these steps:

1.       Enter the name of paragraph code, notebook, interpreter, or user in the Search field.

            

            The respective tasks are displayed in the Task list.

Table 25 describes the name of the notebook, paragraph, and interpreter.

Table 25: name of the notebook, paragraph, and interpreter  fields and description

Field

Description

Notebook

The name of the notebook for which the task was created.

Paragraph

The title of the paragraph is associated with the task, or if there is no title, the first line of code of the paragraph.

Interpreter

The name of the interpreter that the task was created to run against.

Status

The status of the task.

Creation Time

The time (in device-local time) when the task was created.

Queue Time

The total time spent by the task in the queue, that is, the time between the creation of the task and the beginning of the task execution

Run Time

The time taken for the task to run, that is the time between the beginning and the end of the task execution.

User

The username of the user who created the task.

2.      Click Refresh to get the latest list.