Unresolvable FEEL expression resolving as `null` with `Null` type
@barinali is already working on this.
Since Mar 10, 2026.
Assessment
This issue has not been assessed yet.
Description
Describe the Bug
As reported by @nikku in https://github.com/bpmn-io/variable-outline/pull/24#issuecomment-4003725371, we are displaying some variables' resolved values and types wrong.
With the following ioMapping declaration, I think we should have resolved agentContext as Any with =agent.context rather than null with Null type.
<zeebe:ioMapping>
<zeebe:input source="=agent.context" target="agentContext" />
<zeebe:output source="=agent" target="agent" />
</zeebe:ioMapping>
The variables are resolved as below from variable-resolver.
[
{
"name": "agentContext",
"type": "Null",
"info": "",
"entries": [],
"detail": "Null"
},
{
"name": "agent",
"provider": [
null
],
"type": "Any",
"info": "=agent",
"entries": [ ],
"detail": "Any"
}
]
Steps to Reproduce
- Open this diagram
- Focus on AI Agent ad-hoc subprocess
- Inspect
agentandagentContextvariables in the new variables panel orVariableResolver#getVariables - While
agentis=agent,agentContextisnull
Expected Behavior
agentContextshould have been typed asAnywith=agent.contextvalue as it cannot be resolved
Environment
- Library version: 2.0.0
- Dominant language
- JavaScript
- Stars
- 0
- Forks
- 1
- Avg merge
- 8h 41m
- Merged PRs (30d)
- 3
Contributor guide
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
More from bpmn-io/variable-resolver
-
backlog bug
bpmn-io/variable-resolver#109 · 1 assignee ·
-
backlog bug spring cleaning
Difficulty 3/5 1-2 days Newbie friendliness 45/100
bpmn-io/variable-resolver#100 ·
-
backlog bug
Difficulty 3/5 1-2 days Newbie friendliness 52/100
bpmn-io/variable-resolver#82 · 2 comments ·
-
backlog enhancement
bpmn-io/variable-resolver#31 · 1 assignee ·
-
backlog
bpmn-io/variable-resolver#4 · 3 comments · 1 assignee ·
All issues in bpmn-io/variable-resolver
Similar issues
-
Difficulty 2/5 1-3 hours Newbie friendliness 65/100
antfu-collective/icones#398 ·
-
ECmail.com Open
Difficulty 1/5 Under an hour Newbie friendliness 90/100
wesbos/burner-email-providers#554 ·
-
Difficulty 2/5 1-3 hours Newbie friendliness 65/100
radiantearth/stac-browser#1023 ·
-
HMR stops working Open
Difficulty 2/5 1-3 hours Newbie friendliness 75/100
-
Difficulty 2/5 1-3 hours Newbie friendliness 75/100
components-web-app/docs#92 ·