...
Field | Description | ||
---|---|---|---|
Name | Specify the activity type name (for example, "Begin"). | ||
Description | Specify the activity type description. | ||
Active | Select this checkbox to activate or deactivate this activity type.
| ||
Script | In this field, you can specify a JS-script implementing the logic of the activity. You are free to use SimpleOne Server-Side API there. | ||
Image | Specify the favicon that will be displayed in the workflow editor for this activity. | ||
Activity type category | Specify a category for the activity creating. | ||
Activity table | This is a reference field where you can specify a table for this activity type created before. |
создать активити тайп экзиты
Create an activity type
...
exit
To create an activity type exit, please complete the steps below:
- Navigate to {your_instance_url}/list/wf_activity
- Click New, fill in the fields and click Save.
Name - activity name.
Workflow version - выберите воркфлоу, к которой привязывается эта активити (странно, что поле обязательное). А если я просто создаю новый тип активити?
Activity type - тип активити - должна быть заранее создана:
Для каждой активити необходимо прописывать выходы (activity exits). Они хранятся в таблице wf_activity_type_exit, и зависят от типа активити.
- Navigate to {your_instance_url}/list/wf_activity_type_exit;
- Click New, fill in the fields and click Save.
Name - наименование
Activity type - тип активити, для которых может быть использован этот тип выхода;
Exit condition - условие, которое должно сработать для выхода.
Description - описание
...
Activity type exit form fields
Field | Description |
---|---|
Name | Activity type exit name. |
Description | Activity type exit description. |
Exit condition | Specify a trigger condition that must be met to exit the activity. |
Order | Specify the exit order on the activity block. The order is defined in ascending order, and exits are displayed on the activity block from the upside-down depending on their order. |