elsa-workflows / elsa-workflows/elsa-studio
Elsa 3 - Variable name validation
- Dominant language
- C#
- Stars
- 301
- Forks
- 181
- Avg merge
- 17h 12m
- Merged PRs (30d)
- 42
Description
We encountered the following situation:
- We defined a variable called CorrelationId
- Then we were setting the correlationId of the workflow using the dedicated activity.
- Then we wanted to retrieve the value of the workflow correlation id (not the variable). You do that by using the following function getCorrelationId(). To retrieve the value of variable CorrelationId you have to call the following method getCorrelationId(), which is the same method used for retrieving the actual correlation id of the workflow. There is a conflict of names.
I think a possible solution is to have validation for the variable names. The validation will make sure that you don't set any forbidden name (CorrelationId, maybe others).
It would be nice to have this kind of validation on either Stencil or Blazor implementation.
Contributor guide
Assessment
This issue has not been assessed yet.