Conversation
The page did not say where an execution.* reference actually takes effect, which is the question users brought to the review meeting. It also documented only one of the two ways to pass variables into a run, and that one does not work on endpoints accepting a replaceable input dataset. - state the rule: project and global variables resolve when a task is saved, execution variables only in parameters evaluated per run - warn that a template in an ordinary parameter field is resolved once at task load and cached, so it never changes between runs - describe how the variable set of a run is built, that inner tasks and sub-workflows contribute no defaults, and that names are flat - document the variable- query parameter form first, the JSON body form second, and the transitive variable lookup - rename the page and its navigation entry to cover all three scopes
Test Results0 tests 0 ✅ 0s ⏱️ Results for commit c4cf3d8. ♻️ This comment has been updated with latest results. |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Follow-up to the execution variables call on 2026-09-14 (Sebastian, Robert, Andreas, Saipraneeth), which ended with "add a task: improve the documentation".
Everything is in
docs/build/variables/index.md, in the Execution Variables section.One question for @robertisele — please answer before merging
Do the SPARQL Select and Update query templates resolve
execution.references?You said in the call that they do, next to the Evaluate template operator. I could not corroborate it from anything readable, and one source points the other way:
plugin_describe(sparqlUpdateOperator)reportssparqlUpdateTemplateasparameterType: "code-sparql", not thetemplateparameter type that marks a per-execution parameter.plugin_describe(Template)does reportparameterType: "template".input.entity,input.config,output.config,project,global— noexecution.variablestopic served by the embedded MCP server) names only theTemplatecustom task as the reliable per-execution parameter and does not mention the SPARQL tasks.This PR therefore names only the Evaluate template operator and transformer. If the SPARQL tasks do support it, say so and I will add them here and raise a generator ticket for the missing
executionentry in both SPARQL reference pages.What changed
{#}toggle; an execution variable only has a value during a run, so it takes effect in parameters evaluated once per execution.executionVariablesJSON body, which is unusable on endpoints whose body carries a replaceable input dataset.?variable-<name>=valuenow comes first as the form that always works.Build VariablesandVariables.Worth checking before anyone builds it
GET /api/core/variableTemplate/variableswith thetransitiveflag looks like it already shipped in 26.2 — the release notes describe exactly the endpoint the call spent about fifteen minutes specifying, recursion through sub-workflows and enclosing-workflow precedence included. @msaipraneeth is blocked waiting for it.Follow-ups not in this PR
execution.(depends on the question above).globalscope, although it is one of the two confirmed places where execution variables resolve.cmemcsection still covers theproject variablecommand group only; execution variable support is the work starting now.task checkpasses.🤖 Generated with Claude Code
https://claude.ai/code/session_017QSztDcCXEweTw91E3c9Vm