How to insert a variable value creating a case using REST
Hi. I'm using Bonita 6.2.
I need to create a case and pass a value to a global variable using REST. Reading the REST api, i found the caseVariable to do operations with them. But to do this i need:
- create a case
- use caseVariable (using get request) to search variable and
- update his value
Is possible set this value while creating the case, using bpm/case api? I tried pass the variable's name and value as part of atributes to call bpm/case to create a case but the variable was not setted.
Did you try to follow this example: http://documentation.bonitasoft.com/web-rest-api-examples
The last one in the bottom of the page called "Start a case with variables" could be the one you're looking for.