Skip to content

[Bug] [ProcessInstance] Replace default global params value failed at "COMPLEMENT_DATA" mode #9811

@latte-z

Description

@latte-z

Search before asking

  • I had searched in the issues and found no similar issues.

What happened

process_definition

The process have several global params default blank. When I run the process at "START_PROCESS" mode, the global_params could be replaced correctly, but if I run the process at "COMPLEMENT_DATA" mode, the replace string all loss.

In database, table t_ds_process_instance: Both two modes have the correct command_param, but only "START_PROCESS" have the correct replaced global_params, "COMPLEMENT_DATA" only have the same as process defined.

"START_PROCESS":
correct

"COMPLEMENT_DATA":
wrong

What you expected to happen

Global params can be replaced correctly at "COMPLEMENT_DATA" mode.

How to reproduce

Create a new process, set some global params default blank.

try run at START_PROCESS and COMPLEMENT_DATA mode, see different in t_ds_process_instance.

Anything else

No response

Version

2.0.3

Are you willing to submit PR?

  • Yes I am willing to submit a PR!

Code of Conduct

Metadata

Metadata

Assignees

Labels

backendbugSomething isn't workinghelp wantedExtra attention is needed

Type

No type

Projects

No projects

Milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions