Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[Bug] [Built-in Parameter] Project name variable parameter not resolved #16705

Closed
2 of 3 tasks
cristianCesanaIvolution opened this issue Oct 17, 2024 · 1 comment · Fixed by #16715
Closed
2 of 3 tasks
Assignees
Labels
bug Something isn't working good first issue good first issue

Comments

@cristianCesanaIvolution

Search before asking

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

What happened

In all tasks it seems the built in parameter with the project name ${system.project.name} is not resolved correctly:

image

What you expected to happen

${system.project.name} is correctly resolved with the name of the project the task belongs to

How to reproduce

Create a shell task in a workflow with this line:
echo "${system.project.name}"

Anything else

"prepareParamsMap" : { "system.task.definition.name" : { "prop" : "system.task.definition.name", "direct" : "IN", "type" : "VARCHAR", "value" : "testVariable" }, "system.project.name" : { "prop" : "system.project.name", "direct" : "IN", "type" : "VARCHAR", "value" : null }, "system.project.code" : { "prop" : "system.project.code", "direct" : "IN", "type" : "VARCHAR", "value" : "13447474034912" }, "system.workflow.instance.id" : { "prop" : "system.workflow.instance.id", "direct" : "IN", "type" : "VARCHAR", "value" : "559" }, "system.biz.curdate" : { "prop" : "system.biz.curdate", "direct" : "IN", "type" : "VARCHAR", "value" : "20241017" }, "system.biz.date" : { "prop" : "system.biz.date", "direct" : "IN", "type" : "VARCHAR", "value" : "20241016" }, "system.task.instance.id" : { "prop" : "system.task.instance.id", "direct" : "IN", "type" : "VARCHAR", "value" : "756" }, "system.workflow.definition.name" : { "prop" : "system.workflow.definition.name", "direct" : "IN", "type" : "VARCHAR", "value" : "test_variables_wf" }, "system.task.definition.code" : { "prop" : "system.task.definition.code", "direct" : "IN", "type" : "VARCHAR", "value" : "15324551656800" }, "system.workflow.definition.code" : { "prop" : "system.workflow.definition.code", "direct" : "IN", "type" : "VARCHAR", "value" : "15314359412576" }, "system.datetime" : { "prop" : "system.datetime", "direct" : "IN", "type" : "VARCHAR", "value" : "20241017103904" } },

Version

3.2.x

Are you willing to submit PR?

  • Yes I am willing to submit a PR!

Code of Conduct

@cristianCesanaIvolution cristianCesanaIvolution added bug Something isn't working Waiting for reply Waiting for reply labels Oct 17, 2024
@SbloodyS SbloodyS added good first issue good first issue and removed Waiting for reply Waiting for reply labels Oct 18, 2024
@sdhzwc
Copy link
Contributor

sdhzwc commented Oct 21, 2024

@SbloodyS Let me contribute.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working good first issue good first issue
Projects
None yet
3 participants