UiPath Documentation
process-mining
2023.4
false
Process Mining
重要 :
请注意,此内容已使用机器翻译进行了部分本地化。 新发布内容的本地化可能需要 1-2 周的时间才能完成。

TemplateOne-单个文件输入字段

简介

If your data for cases and events is available in one input file, you use the TemplateOne-SingleFile app template.

If you want to create a new TemplateOne process app, you must upload a dataset that contains the data to be used in the TemplateOne.

这必须是 tsv(制表符分隔)文件或 .csv(逗号分隔)文件,其中每个输入字段都包含一个列。

重要提示:

表格名称和字段名称区分大小写。 始终确保数据集中的字段名称(列标题)与下表中的字段名称(英文)匹配,并且文件名为 Event_log_raw

教程

创建第一个数据集时,请观看下面的此视频以获取教程。用于更好地了解如何创建数据集以及在TemplateOne流程应用程序中使用该数据集。

必填字段和可选字段

您的输入数据文件可以具有不同的字段或不同的字段名称。 但是,有些字段是必填字段,这意味着输入数据文件中必须提供数据,才能使流程应用程序正常工作。

备注:

如果字段为必填字段,则不应包含NULL值。

字段类型

下表描述了不同的字段类型及其默认格式设置。

字段类型格式
booleantruefalse10
datetimeyyyy-mm-dd hh:mm:ss[.ms],其中[.ms]是可选的。

如果要更改日期格式,请参阅Microsoft 官方文档
double小数点分隔符: . (点)

千位分隔符:无
text不适用
整数千位分隔符:无

下表描述了输入字段。 系统将显示每个字段的名称、数据类型和简短说明。 除此之外,还会指明该字段是否为必填字段。

Event_log_raw

“Event_log_raw”表格包含有关流程中执行的活动的信息。

名称数据类型必填 是/否描述
ActivitytextY事件的名称。用于描述流程中的步骤。
Case_IDtextY事件所属案例的唯一标识符。
Event_enddatetimeY与事件执行结束相关联的时间戳。
CasetextN用于标识案例的用户友好名称。
Case_statustextNThe status of the case in the process. For example, open, closed, pending, approved, etc.
Case_typetextN案例的分类。
Case_valuedoubleN与案例相关的货币价值。
Automated*booleanN指示事件是手动执行还是自动执行。
Event_costdoubleN执行事件的成本。
Event_detailtextN事件相关信息。
Event_startdatetimeN与开始执行事件相关联的时间戳。
TeamtextN执行事件的团队。
UsertextN执行事件的用户。

*) Automated是输入数据的一部分。 但是,如果您需要派生事件是否为自动化事件,则需要在数据转换中对此进行自定义,以根据所需信息创建逻辑。 建议在Event_log.sql文件中执行此操作。 找到包含...as "Automated"的语句,并将其替换为如下所示的语句。

case when Event_log_base."User" = 'A' then pm_utils.to_boolean('true') else pm_utils.to_boolean('false') end as "Automated"
case when Event_log_base."User" = 'A' then pm_utils.to_boolean('true') else pm_utils.to_boolean('false') end as "Automated"

自定义字段

可用的自定义案例字段如下。

  • 30 fields of type text;
  • 10 fields of type double;
  • 10 fields of type datetime;
  • 10 fields of type boolean;
  • 10 fields of type duration.

以下自定义事件字段可用。

  • 30 fields of type text;
  • 10 fields of type double;
  • 10 fields of type datetime;
  • 10 fields of type boolean;
  • 5 fields of type duration.

自定义字段具有通用名称。下表描述了可以在流程应用程序中使用的自定义字段。

名称数据类型必填 是/否
custom_case_text_{1...30}textN
custom_case_number_{1...10}doubleN
custom_case_datetime_{1...10}datetimeN
custom_case_boolean_{1...10}booleanN
custom_case_duration_{1...10}durationN
custom_event_text_{1...30}textN
custom_event_number_{1...10}doubleN
custom_event_datetime_{1...10}datetimeN
custom_event_boolean_{1...10}booleanN
custom_event_duration_{1...5}整数N
备注:

使用自定义字段时,应使用数据管理器将字段重命名为与值匹配的名称。查看“字段”

Custom fields that are empty in your dataset, are not displayed in Process Mining.

  • 简介
  • 教程
  • 必填字段和可选字段
  • 字段类型
  • Event_log_raw
  • 自定义字段

此页面有帮助吗?

连接

需要帮助? 支持

想要了解详细内容? UiPath Academy

有问题? UiPath 论坛

保持更新