Versions Compared

Key

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

如果您正在使用MySQL,则只需要执行此操作,因为其他数据库已默认为“READ-COMMITTED”。

在MySQL中运行以下查询。

You will only need to do this if you are using MySQL, as other databases already default to "READ-COMMITTED".

Run following queries in MySQL.

SET GLOBAL tx_isolation ='READ-COMMITTED';
SET SESSION tx_isolation ='READ-COMMITTED';

 

You will also need to set the following in your 您还需要在my.cnf / my.ini file.ini文件中设置以下内容
[mysqld]
transaction-isolation = READ-COMMITTED

ID Generator Tool allows one to increase value stored in Environment Variable by one. It is very often used to generate/keep a running number (e.g. application reference number).

Image Removed

Figure 1: ID Generator Tool Properties



ID生成器工具允许将存储在环境变量中的值增加1。它经常用于生成/保留一个运行号码(例如应用程序参考号码)。

Image Added

图1:ID生成器工具属性

名称描述
形成目标形式。所选表格将用于下面的“字段ID”属性。
字段ID可选字段。您可以指定要更新的表单域ID。
记录ID可选字段。您可以明确指定一个记录ID,否则将假定流程实例ID。
环境变量名称

用于保持运行号的环境变量的名称。

格式

确定生成值的模式(例如,“REF

NameDescription
FormTarget form. The form selected will be used for "Field ID" attribute below.
Field IDOptional field. You may specify a form field ID to be updated.
Record IDOptional field. You may specify a record ID explicitly, otherwise, the process instance ID will be assumed.
Environment Variable Name

Name of the environment variable to be used to keep the running number.

Format

Determines the pattern of the generated value (e.g., "REF - ?????" will yield "REF-00001")”将产生“REF-00001”)

Figure 1: ID Generator Tool Properties

图1:ID生成器工具属性

名称描述
工作流变量

生成的值可以保存到相应的工作流变量中。

NameDescription
Workflow Variable

The value generated can be saved into the corresponding workflow variable named here.

You will get the following warning with the name printed out (e.g. status) in the server log if you attempt to map to a non-existent Workflow Variable.

Info
titleUsing a non-existent Workflow Variable name
Code Block
context attribute status does not exist in process context - adding new attributes to the process context is not allowed

 

...

如果尝试映射到不存在的工作流程变量,则会在服务器日志中输出以下警告(例如状态)。

Code Block
上下文属性状态在进程上下文中不存在 - 不允许向进程上下文添加新的属性