Hacktoberfest 2026: the issues maintainers tagged for October, open and beginner-friendly. Browse Hacktoberfest issues

Unresolvable FEEL expression resolving as `null` with `Null` type

Open
#87 1 comment 0 reactions 1 assignee View on GitHub

@barinali is already working on this.

Since Mar 10, 2026.

Assessment

This issue has not been assessed yet.

Description

backlog bug
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>
Image

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
  1. Open this diagram
  2. Focus on AI Agent ad-hoc subprocess
  3. Inspect agent and agentContext variables in the new variables panel or VariableResolver#getVariables
  4. While agent is =agent, agentContext is null
Expected Behavior
  1. agentContext should have been typed as Any with =agent.context value 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

Open the contributing guide

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

More from bpmn-io/variable-resolver

All issues in bpmn-io/variable-resolver

Similar issues

More JavaScript issues

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.