TAMULib / mod-camunda

Apache License 2.0
0 stars 0 forks source link

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

Open kaladay opened 2 months ago

kaladay commented 2 months ago

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:

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: https://github.com/TAMULib/mod-camunda/blob/f7dea00e90877620727fa46d7190b6be712360c0/src/main/java/org/folio/rest/camunda/delegate/Input.java#L67 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