Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

本文将介绍如何通过数据列表超链接启动一个流程。

Image Added
图1:在UserView Builder中的Run Process元素中分配自定义ID

I在 Run Process 元素本身, 分配一个自定义ID给它一个特定的标识,以便以后可以很容易地调用它

Image Added

图2:将超链接分配给Datalist Builder的超链接操作中的Run Process元素的Custom ID

Datalist Hyperlink Action的属性中,键入之前的自定义ID

可选:您可能还需要使用值初始化“运行过程”窗体。

在“超链接参数”中,输入相应的参数名称,并填入相应的字段ID。(例如,在表格中,它有一个名为“title”的字段)。请记住在参数名称中添加前缀“ fk_ ”或“ fke_ ”。后者被用作标志来允许编辑该字段。

您还需要将表单映射到流程活动映射中的“ 运行流程”活动。

Image Added
图3:可选 - 添加运行进程的表单

Image Added

图4:查看列表并从超链接开始进程

转到已发布的用户视图,观察链接是如何构建的。

Image Added

图5:从超链接开始的过程

点击超链接后,新的流程将以部分填充的形式开始。

In this article, we will attempt to show you on how to start a process from a hyperlink (Datalist Hyperlink Action) in a Datalist.

Image Removed
Figure 1: Assign Custom ID in Run Process element in Userview Builder

In the Run Process element itself, assign a Custom ID to give it a specific identification so that it can be called easily later on.

Image Removed
Figure 2: Assign Hyperlink to the Run Process element's Custom ID in Datalist Builder's Hyperlink Action

In the Datalist Hyperlink Action's properties, key in the Custom ID earlier into it.

Optional: You may also want to initialize the "Run Process" form with a value.

In the "Hyperlink Parameters", key in the corresponding parameter name with the matching field ID. (E.g. In the form, it has a field called "title"). Remember to add in the prefix "fk_" or "fke_" to the parameter name. The latter one is used as a flag to allow the field to be edited.

You will also need to map the form into the "Run Process" activity in your process's activity mapping.

Image Removed
Figure 3: Optional - Adding a Run Process's Form.

Image Removed
Figure 4: Viewing the List and starting the process from hyperlink

Go to the published userrview and observe on how the link is constructed.

Image Removed
Figure 5: Starting process from the hyperlink

...