Versions Compared

Key

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

表单数据更新工具用于更新已经提交的表单中的信息。这通常用于处理现有表单和根据业务规则或来自外部系统的数据更新字段。请注意,尝试将此工具用于尚未提交的表单将导致异常。对于新表单的预填表单字段,请考虑使用预设表单数据工具,或者您可以在表单中使用散列变量。

Image Added

图1:表单数据更新工具属性

名称描述
形成目标形式
更新字段

要更新的字段。

Info
title哪条记录会被更新?

默认情况下,它将尝试使用与当前所在进程实例相同的ID查找记录。但是,您也可以通过定义“id”字段和值来指定自己的记录标识。

名称描述
字段ID字段ID要更新。字段ID必须以上面选定的形式存在。
值被设置。

Form Data Update Tool is used to update the information in forms that have already been submitted. This is typically used for processing existing forms and updating fields based on business rules or data from external systems. Note that trying to use this tool for a form that has not yet been submitted will result in an exception. For pre-filling form fields of new forms, consider using either the Preset Form Data Tool, or you may use hash variables in your forms.

Image Removed

Figure 1: Form Data Update Tool Properties

NameDescription
FormTarget form
Update Fields

Fields to be updated.

Info
titleWhich record row to update?

By default, it will try to look for record with the same id of the process instance it is currently in. However, you may also specify your own record id by explicating defining a "id" field and value.

NameDescription
Field IDField ID to be updated. Field ID must exists in the selected form above.
ValueValue to be set.