Hi good, day I am so new using CAMUNDA and have not to much experience in angular, I got this new project in my job I have to migrate the actual components they use, for new ones; which are already configured, tested and ready to use. How ever when I’m trying to do it, I got this error from CAMUNDA.
Form failure: Cannot add variable with name : already exists.
You are using cam-variable-name=“categoria” and are also providing a custom binding ng-model=“categoria” to the same variable (obsolete, remove or use indeed a custom binding).
The component code you are trying to replace with was redacted in the post, but based on the error you seem to be binding twice to the same variable.
This new component, shows the error I am experiencing, I have tried alreaddy to change variables with different names, or modfiying the ones I do have there to make the change. According to the previous answer you gave me, both name and model, their values are changed, how ever still have same error. So, I am kind of confused.
Please note that the attributes are cam-variable-name and cam-variable-type. You seem to be missing the “variable-” part. (It also seems like the quotes " around Software are not closed)
For Those who face the same problem. This is caused by the fact that, we can’t call more than once camForm.variableManager.fetchVariable(<variableName>)(which is called when we bind with cam-varibale-name). Make sure you don’t have camForm.variableManager.fetchVariable(<variableName>) and cam-variable-name=<variable_name> at the same time, or twice on each in the same form.