Browse Source

Fix spotless (#15164)

3.2.1-prepare
旺阳 1 year ago committed by GitHub
parent
commit
9c8d1dc6d8
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
  1. 1
      docs/docs/en/guide/parameter/context.md
  2. 2
      docs/docs/zh/guide/parameter/context.md

1
docs/docs/en/guide/parameter/context.md

@ -92,7 +92,6 @@ For example
![python_context_param](../../../../img/new_ui/dev/parameter/python_context_param.png) ![python_context_param](../../../../img/new_ui/dev/parameter/python_context_param.png)
Attention: When the variable value contains the `\n` identifier, such as ` value = "hello \n world" `, value needs to be carried out in a special way. You need to use `print('${setValue(key=%s)}' % repr(value))`, otherwise the argument cannot be passed to the subsequent flow. Attention: When the variable value contains the `\n` identifier, such as ` value = "hello \n world" `, value needs to be carried out in a special way. You need to use `print('${setValue(key=%s)}' % repr(value))`, otherwise the argument cannot be passed to the subsequent flow.
#### Pass parameter from SubProcess task to downstream #### Pass parameter from SubProcess task to downstream

2
docs/docs/zh/guide/parameter/context.md

@ -91,10 +91,8 @@ Node_mysql 运行结果如下:
![python_context_param](../../../../img/new_ui/dev/parameter/python_context_param.png) ![python_context_param](../../../../img/new_ui/dev/parameter/python_context_param.png)
注意: 当变量 value 中含有 `\n` 标识,如 `value = "hello \n world"`, 则需要将 value 进行特殊进行,需要使用 `print('${setValue(key=%s)}' % repr(value))`, 否则参数无法传递到后面的流程。 注意: 当变量 value 中含有 `\n` 标识,如 `value = "hello \n world"`, 则需要将 value 进行特殊进行,需要使用 `print('${setValue(key=%s)}' % repr(value))`, 否则参数无法传递到后面的流程。
#### SubProcess 任务传递参数 #### SubProcess 任务传递参数
在子流程的工作流定义中定义方向是 OUT 的变量作为输出参数,可以将这些参数传递到子流程节点的下游任务。 在子流程的工作流定义中定义方向是 OUT 的变量作为输出参数,可以将这些参数传递到子流程节点的下游任务。

Loading…
Cancel
Save