Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Support Camunda 8 secret syntax in FEEL expression #4596

Open
barmac opened this issue Oct 10, 2024 · 1 comment
Open

Support Camunda 8 secret syntax in FEEL expression #4596

barmac opened this issue Oct 10, 2024 · 1 comment
Labels
enhancement New feature or request ux

Comments

@barmac
Copy link
Collaborator

barmac commented Oct 10, 2024

Problem you would like to solve

Secrets syntax is not detected in the Modeler:

I am forced to switch tabs and google for it (or search for an example where I used it)

In case I make a mistake, I find out about it in runtime only.

Proposed solution

Extend the FEEL syntax with Camunda 8 secrets syntax. Possibly provide suggestions. In Web Modeler, specific secret names could even be provided.

image

Alternatives considered

Leave it as is.

Additional context

Reported by @berndruecker via https://camunda.slack.com/archives/C0693F1NFK5/p1728541633050579

@barmac barmac added the enhancement New feature or request label Oct 10, 2024
@nikku nikku added the ux label Oct 10, 2024
@nikku
Copy link
Member

nikku commented Oct 10, 2024

Challenge to overcome here: Secrets are only supported in some places, i.e. only in connectors or potentially other workers that support them. We could decide to always recognize the pattern and ignore this matter.

However, I think the real user problem to solve here is that you cannot easily use secrets, and that "known secrets" are not suggested? There, as mentioned, this is much better tackled via auto completion and/or some sort of inline help, cf. bpmn-io/bpmn-js-properties-panel#708, or this mock-up:

image

I propose to rewrite the issue to capture the user problem more broadly. This allows us to consider the right set of changes for "enabling users to better work with secrets in Camunda".

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request ux
Projects
None yet
Development

No branches or pull requests

2 participants