task-definition.md 1.3 KB
Newer Older
1 2
# Task Definition

3
## Batch Task Definition
4

5 6 7 8 9
Task definition allows to modify or operate tasks at the task level rather than modifying them in the workflow definition.
We already have workflow level task editor in [workflow definition](workflow-definition.md) which you can click the specific
workflow and then edit its task definition. It is depressing when you want to edit the task definition but do not remember
which workflow it belongs to. So we decide to add `Task Definition` view under `Task` menu.

10
![task-definition](../../../../img/new_ui/dev/project/batch-task-definition.png)
11 12 13 14 15

In this view, you can create, query, update, delete task definition by click the related button in `operation` column. The
most exciting thing is you could query task by task name in the wildcard, and it is useful when you only remember the task
name but forget which workflow it belongs to. It is also supported query by the task name alone with `Task Type` or
`Workflow Name`
16 17

## Stream Task Definition
18

19 20 21 22 23 24
Stream task definitions are created in the workflow definition, and can be modified and executed.

![task-definition](../../../../img/new_ui/dev/project/stream-task-definition.png)

Click the execute button, check the execution parameters and click Confirm to submit the stream task.

25
![task-definition](../../../../img/new_ui/dev/project/stream-task-execute.png)