Process XML Schema
Good morning ! I want to ask you about the XML file "processName.proc" ! In this file there is information about the whole process (tasks, contract, inputs, business data etc...), But there is no information about the variables used in the tasks associated, the ones we define in the UI Designer, is there any indication about those variables in the XML File that I couldn't pay attention to ?
If no, where Can I get information about those variables from a file ?
The .proc file is a internal Studio format that is not meant to be read by a human.
The proper way to access the process definition file you need is to export the process as a .bar file, through Studio menu Server => Generate .bar file.
A bar file is a Zip format that you can open. Inside you will find a file named process-design.xml containing the entire definition of the process, including variables. This is the official exchange format for Bonita process definition.
Hope this helps
Okay I found it ! So this is the main descriptor file of my process not the other one processName.proc isn't it ? And it's parsed when we deploy our process in the portal ?
*.proc file is a Studio format, process-design.xml is the runtime format.
When building the bar file the .proc is transformed into a process-design.xml.
While transformation, where the information related to variables is getting extracted from ?