Translation

type: Content of: <section><section><section><title>
Activity Dialog
5/150
Context English Chinese (Simplified) State
If a process ticket is in Activity <literal>A1</literal>, it has three possible ways to get to another Activity. In the Transitions <literal>T1</literal> to <literal>T3</literal>, conditions are defined, that a process ticket must fulfill to move (transit) to another Activity. 如果一个流程工单位于活动<literal>A1</literal>,它有3个可能的方法获取另一个活动。在转换<literal>T1</literal>到<literal>T3</literal>中已经定义了流程工单到移动(转换)到另一个活动必须要满足的条件。
If in this case all the values of the process ticket and its dynamic fields that are needed for the Transition <literal>T2</literal> are correct, the ticket will be moved from Activity <literal>A1</literal> to <literal>A3</literal>. After an ActivityDialog is submitted, or any other change is made to a ticket, it will be checked for possible Transitions from the current Activity. If multiple Transitions are possible, the first one will be used (based on numerical sorting of the TransitionIDs). 在这个案例中,如果转换<literal>T2</literal>所需的所有流程工单及其动态字段的值都是正确的,则工单将从“活动”<literal>A1</literal>移动到<literal>> A3</literal>。 在提交了活动对话框之后,或者对工单进行了任何其他更改,将检查当前活动中是否有可能的转换。 如果可以进行多个转换,则将使用第一个转换(基于TransitionID的数值排序)。
Additionally, it is possible to assign Transition Actions to Transitions in the Path configuration. These are modules which are executed after a successful Transition. They have to be specified in array form as in the example, we'll talk about the details later. 此外,还可以在路径配置中给转换分配转换操作。这些转换操作就是在成功转换后执行的模块。在示例流程中它们用数组表单方式分配,我们会在后面讨论这些细节。
Activity 活动
An Activity contains one or more Activity Dialogs and models a <literal>step</literal> in the process. All Activity Dialogs of the current Activity are displayed in the ticket zoom and can be used until the conditions of a Transition are fulfilled. 活动包含一个或多个活动对话框,并模拟该流程的一个<literal>步骤</literal>。 当前活动的所有活动对话框都显示在工单详情中,可以在满足转换条件之后使用。
Activity configuration 活动配置
Let's see an example activity configuration: 让我们看一个活动配置样例:
$Self->{'Process::Activity'} =
{
'A1' => {
Name => 'Activity 1 optional',
CreateTime => '16-02-2012 13:37:00',
CreateBy => '1',
ChangeTime => '17-02-2012 13:37:00',
ChangeBy => '1',
ActivityDialog => {
1 => 'AD1',
},
},
'A2' => {
Name => 'Activity 2 optional',
CreateTime => '16-02-2012 13:37:00',
CreateBy => '1',
ChangeTime => '17-02-2012 13:37:00',
ChangeBy => '1',
ActivityDialog => {
1 => 'AD5',
2 => 'AD6',
3 => 'AD1',
},
},
};
$Self->{'Process::Activity'} =
{
'A1' => {
Name => 'Activity 1 optional',
CreateTime => '16-02-2012 13:37:00',
CreateBy => '1',
ChangeTime => '17-02-2012 13:37:00',
ChangeBy => '1',
ActivityDialog => {
1 => 'AD1',
},
},
'A2' => {
Name => 'Activity 2 optional',
CreateTime => '16-02-2012 13:37:00',
CreateBy => '1',
ChangeTime => '17-02-2012 13:37:00',
ChangeBy => '1',
ActivityDialog => {
1 => 'AD5',
2 => 'AD6',
3 => 'AD1',
},
},
};
The name of the activity. 活动的名称。
The time when it was created. 活动创建的时间。
UID of the user who created the Activity. 创建该活动用户UID。
The last time when it was changed. 最后修改的时间。
UID of the last user who changed the Activity. 最后修改该流程的用户UID。
<literal>ActivityDialog</literal> <literal>ActivityDialog(活动对话框)</literal>
Activity Dialog contains the list of Activity Dialogs which are available in this Activity. All Activity Dialogs of the current Activity are displayed in the ticket zoom. Their order is set by the order in the configuration, here <literal>AD5</literal> is shown before <literal>AD6</literal> and <literal>AD1</literal>. 活动对话框包含当前活动的活动对话框列表。当前活动的所有活动对话框都显示在工单详情中。它们的顺序是由配置中的顺序设置的,此处<literal>AD5</literal>会显示在<literal>AD6</literal> 和<literal>AD1</literal>之前。
Activity Dialog 活动对话框
An Activity Dialog is a particular screen and can be used in different Activities. 一个活动对话框是一个特别的屏幕,能在不同的活动中使用。
ActivityDialog configuration 活动对话框配置
Let's see an example config: 让我们看一个活动配置样例:
$Self->{'Process::ActivityDialog'} = {
'AD1' => {
Name => 'ActivityDialog 1 optional',
DescriptionShort => 'Basic info',
DescriptionLong => 'Please insert the necessesary basic information for IT orders',
CreateTime => '28-02-2012 13:37:00',
CreateBy => '1',
ChangeTime => '29-02-2012 13:37:00',
ChangeBy => '1',
Fields => {
PriorityID => {
DescriptionShort => 'Priority ID',
DescriptionLong => 'Enter the priority here',
Display => 2,
},
},
FieldOrder => [ 'PriorityID' ],
SubmitAdviceText => 'Note: If you submit the form...',
SubmitButtonText => 'Send request',
},
'AD2' => {
Name => 'ActivityDialog 2 optional',
DescriptionShort => 'Basic info',
DescriptionLong => 'Please insert the necessesary basic information for Book orders',
CreateTime => '28-02-2012 13:37:00',
CreateBy => '1',
ChangeTime => '29-02-2012 13:37:00',
ChangeBy => '1',
Fields => {
StateID => {
DescriptionShort => 'State ID',
DescriptionLong => 'Enter the state here',
Display => 2,
DefaultValue => '2',
},
Queue => {
DescriptionShort => 'Queue ID',
DescriptionLong => 'Enter the queue here',
Display => 2,
DefaultValue => 'Raw',
},
Title => {
DescriptionShort => 'Title',
DescriptionLong => 'Enter the title here',
Display => 1,
DefaultValue => 'Default Title',
},
DynamicField_Anzahl => {
DescriptionShort => 'Amount',
DescriptionLong => 'Enter the amount here',
Display => 2,
DefaultValue => '4',
},
},
FieldOrder => [ 'DynamicField_Anzahl', 'StateID', 'Queue', 'Title' ],
SubmitAdviceText => 'Note: If you submit the form...',
SubmitButtonText => 'Send request',
},
};
$Self->{'Process::ActivityDialog'} = {
'AD1' => {
Name => 'ActivityDialog 1 optional',
DescriptionShort => 'Basic info',
DescriptionLong => 'Please insert the necessesary basic information for IT orders',
CreateTime => '28-02-2012 13:37:00',
CreateBy => '1',
ChangeTime => '29-02-2012 13:37:00',
ChangeBy => '1',
Fields => {
PriorityID => {
DescriptionShort => 'Priority ID',
DescriptionLong => 'Enter the priority here',
Display => 2,
},
},
FieldOrder => [ 'PriorityID' ],
SubmitAdviceText => 'Note: If you submit the form...',
SubmitButtonText => 'Send request',
},
'AD2' => {
Name => 'ActivityDialog 2 optional',
DescriptionShort => 'Basic info',
DescriptionLong => 'Please insert the necessesary basic information for Book orders',
CreateTime => '28-02-2012 13:37:00',
CreateBy => '1',
ChangeTime => '29-02-2012 13:37:00',
ChangeBy => '1',
Fields => {
StateID => {
DescriptionShort => 'State ID',
DescriptionLong => 'Enter the state here',
Display => 2,
DefaultValue => '2',
},
Queue => {
DescriptionShort => 'Queue ID',
DescriptionLong => 'Enter the queue here',
Display => 2,
DefaultValue => 'Raw',
},
Title => {
DescriptionShort => 'Title',
DescriptionLong => 'Enter the title here',
Display => 1,
DefaultValue => 'Default Title',
},
DynamicField_Anzahl => {
DescriptionShort => 'Amount',
DescriptionLong => 'Enter the amount here',
Display => 2,
DefaultValue => '4',
},
},
FieldOrder => [ 'DynamicField_Anzahl', 'StateID', 'Queue', 'Title' ],
SubmitAdviceText => 'Note: If you submit the form...',
SubmitButtonText => 'Send request',
},
};
Name of the Activity Dialog. 活动对话框的名称。
UID of the user who created this Activity Dialog. 创建该活动对话框的用户UID。
UID of the last user who changed this Activity Dialog. 最后修改这个活动对话框的用户UID。
<literal>Fields</literal> <literal>Fields(字段)</literal>
Contains all fields which can be displayed in this Activity Dialog. The following fields can currently be used: 包含所有能在活动对话框中显示的字段。目前能使用下列字段:
Title
State
StateID
Priority
PriorityID
Lock
LockID
Queue
QueueID
Customer
CustomerID
CustomerNo
CustomerUserID
Owner
OwnerID
Type
TypeID
SLA
SLAID
Service
ServiceID
Responsible
ResponsibleID
PendingTime
DynamicField_$FieldName # for all dynamic fields
Title
State
StateID
Priority
PriorityID
Lock
LockID
Queue
QueueID
Customer
CustomerID
CustomerNo
CustomerUserID
Owner
OwnerID
Type
TypeID
SLA
SLAID
Service
ServiceID
Responsible
ResponsibleID
PendingTime
DynamicField_$FieldName # for all dynamic fields
Example of a single field configuration: 单个字段配置的样例:
StateID => {
DescriptionShort => 'State ID',
DescriptionLong => 'Enter the state here',
Display => 2,
DefaultValue => '2',
},
StateID => {
DescriptionShort => 'State ID',
DescriptionLong => 'Enter the state here',
Display => 2,
DefaultValue => '2',
},
The field <literal>Article</literal> is a special case. If it is present in a <literal>Fields</literal> configuration, the Activity Dialog will contain a complete Richtext editor with subject field and attachment handling. The entered text will then be added to the ticket as an article. Let's see an example Article field configuration: 字段<literal>Article(信件)</literal>是一个特例。 如果它存在于<literal> Fields(字段)</literal>配置中,则活动对话框将包含一个完整的富文本编辑器,其中包含主题字段和附件处理。 输入的文本将作为信件添加到工单。 我们来看一个示例Article(信件)字段配置:
Article => {
DescriptionShort => 'Please insert your comment here.',
DescriptionLong => '',
Display => 1,
Config => {
CommunicationChannel => 'Internal'
IsVisibleForCustomer => '0'
LabelSubject => '',
LabelBody => '',
},
},
Article => {
DescriptionShort => 'Please insert your comment here.',
DescriptionLong => '',
Display => 1,
Config => {
CommunicationChannel => 'Internal'
IsVisibleForCustomer => '0'
LabelSubject => '',
LabelBody => '',
},
},
Let's look at the field configuration options: 让我们看看这个字段的配置选项:
ComponentTranslation
This translation Translated OTRS 6/Administration Manual 活动对话框
The following string has the same context and source.
Translated OTRS 6/((OTRS)) Community Edition 活动对话框

Loading…

Activity Dialog
活动对话框
2 months ago
Browse all component changes

Glossary

English Chinese (Simplified)
No related strings found in the glossary.

Source information

Source string comment
type: Content of: <section><section><section><title>
Source string location
en/content/customization/process-management.xml:2115
String age
7 months ago
Source string age
7 months ago
Translation file
i18n/doc-admin.zh_CN.po, string 539