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

Camunda is potentially not fully utilizing local/process variable. #253

Open
kaladay opened this issue Jun 28, 2024 · 0 comments
Open

Camunda is potentially not fully utilizing local/process variable. #253

kaladay opened this issue Jun 28, 2024 · 0 comments
Labels
bug Something isn't working enhancement New feature or request spike

Comments

@kaladay
Copy link

kaladay commented Jun 28, 2024

The input variables (and possibly output variable) are treating everything as a String.
This happens regardless of "Spin".

Camunda (not mod-camunda) appears to support Objects via additional properties.
Such as with variables of type local, there are three properties: value, type, and valueInfo.
This appears to support objectTypeName and we may support the following types:

  • string, number, boolean, array or object.

Implementing this feature may help solve the 4000 character limit bug but more research is need and so the spike label is also added.

see:

private void defaultGetInputsLoop(EmbeddedVariable variable, String key, VariableType type, Object value, Map<String, Object> inputs) throws JsonProcessingException {

see: https://docs.camunda.org/rest/camunda-bpm-platform/7.22-SNAPSHOT/#tag/External-Task/operation/handleFailure
see: https://forum.camunda.io/t/error-while-starting-process-instance/19433

@kaladay kaladay added bug Something isn't working enhancement New feature or request spike labels Jun 28, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working enhancement New feature or request spike
Projects
None yet
Development

No branches or pull requests

1 participant