# Predefined (accessible) process var. in FEEL

**URL:** <https://forum.camunda.io/t/predefined-accessible-process-var-in-feel/66747>\
**Category:** Camunda 8 Topics\
**Created:** [January 20, 2026, 10:25am UTC](https://forum.camunda.io/t/predefined-accessible-process-var-in-feel/66747 "2026-01-20T10:25:52Z")\
**Posts on this page:** 1\
**Showing post:** 2

<div class="post-metadata">

**Author:** ![zee-bot](https://forum.camunda.io/user_avatar/forum.camunda.io/zee-bot/32/32886_2.png) [@zee-bot](https://forum.camunda.io/u/zee-bot)\
**Post date:** [January 21, 2026, 10:26am UTC](https://forum.camunda.io/t/predefined-accessible-process-var-in-feel/66747/2 "2026-01-21T10:26:48Z")

</div>

Hi @Bab64,

You’re absolutely correct! The `application` variable you’ve seen in BPMN models is indeed legacy from **Camunda 7**.

## Camunda 7 vs Camunda 8: Expression Language Differences

**Camunda 7** used **JUEL (Java Unified Expression Language)**, which had broad access to:

- Engine APIs and internals
- Application context (like Spring beans)
- Built-in variables like `application` for accessing process instance metadata

**Camunda 8** uses **FEEL (Friendly Enough Expression Language)**, which is intentionally more restricted:

- FEEL expressions can **only access process instance data and variables**
- No direct access to engine APIs or application context
- No built-in `application` variable

## Predefined Variables in Camunda 8

Currently, **Camunda 8 does not provide predefined variables** like process instance ID/key directly accessible in FEEL expressions. This is actually a known limitation that’s being worked on.

## Workaround: Store Metadata as Process Variables

If you need access to process metadata (like process instance key, BPMN process ID, etc.) in your FEEL expressions, you need to explicitly store them as process variables first. Here’s the common pattern:

```java
// In your job worker
job.complete(
  Map.of(
    "processInstanceKey", job.getProcessInstanceKey(),
    "bpmnProcessId", job.getBpmnProcessId(),
    // other metadata you need
  )
);

```

Once stored as variables, you can use them in FEEL expressions:

```auto
= processInstanceKey
= bpmnProcessId

```

## References

- [Conceptual Differences: Expression Language](https://docs.camunda.io/docs/guides/migrating-from-camunda-7/conceptual-differences/#expression-language)
- [FEEL Variables Documentation](https://docs.camunda.io/docs/components/modeler/feel/language-guide/feel-variables/)
- [Forum Discussion: Get Process Key in FEEL](https://forum.camunda.io//t/62789)

Hope this clarifies the differences! Let me know if you have any other questions about FEEL expressions in Camunda 8.

---

_[View the full topic](https://forum.camunda.io/t/predefined-accessible-process-var-in-feel/66747)._
