Skip to content
This repository has been archived by the owner on May 12, 2021. It is now read-only.
This repository has been archived by the owner on May 12, 2021. It is now read-only.

Assist when writing (FEEL) expressions #253

Open
@saig0

Description

Is your feature request related to a problem? Please describe.

Zeebe supports (FEEL) expressions for different attributes. In some cases, an attribute is always an expression. In other cases, an attribute can be a static value or an expression. If the attribute value is an expression then it starts with "=" (an equal sign).

For me, it is annoying that I need to write always "=" before my expression, even if the attribute is always an expression.

Some users may also not be aware that they need to write an expression for an attribute and try to write a static value.

From the Zeebe documentation: https://docs.zeebe.io/reference/expressions.html

The following attributes of BPMN elements require an expression:

  • Sequence Flow on an Exclusive Gateway: condition
  • Message Catch Event / Receive Task: correlation key
  • Multi-Instance Activity: input collection, output element
  • Input/Output Variable Mappings: source

Additionally, the following attributes of BPMN elements can define an expression optionally instead of a static value:

  • Timer Catch Event: timer definition
  • Message Catch Event / Receive Task: message name
  • Service Task: job type, job retries
  • Call Activity: process id

Describe the solution you'd like

If the attribute value is always an expression then I don't need to write "=" before the expression. For example, by adding a fixed field with "=" in front of the text field.

If the attribute value can be an expression or a static value then I can toggle a field that decides if it is the expression or not.

Additionally, it may help new users if the modeler explains the meaning of "=". For example, by having a short description under the field or as a hover text (e.g. "an expression starts with =").

Describe alternatives you've considered

No.

Additional context

An idea for the UI:

image

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions