Process XML Schema

1
+1
-1

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 ?

1 answer

1
+2
-1

Hello,

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

Emmanuel.

Comments

Submitted by fatma.ghorbel_1... on Tue, 06/23/2020 - 15:04

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 ?

Submitted by romain.bioteau on Wed, 06/24/2020 - 12:19

*.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.

Submitted by fatma.ghorbel_1... on Thu, 06/25/2020 - 16:23

While transformation, where the information related to variables is getting extracted from ?

Notifications