Installing Processes on Bonita BPM Platform/Server

1
0
-1

Hello,

I know that one can install new processes, organizations, and profiles to an instance of Bonita BPM Platform through the Portal, but are there any other ways to do this manually by moving the bar/xml files somewhere in the server files or perhaps even programmatically through API?

Thanks for your help

1 answer

1
+1
-1
This one is the BEST answer!

Hi, I can install new process using Bonita Engine API. With BusinessArchive read file bar(draw from studio or export from server already process) and ProcessDefinition to deployAndEnable this businessArchive. with organizations same. With profiles i programming like a register user.

Comments

Submitted by rtumminelli_1394599 on Thu, 06/06/2019 - 19:15

hey nampham, I see deployAndEnableProcess in the API, but you need to provide it a BusinessArchive object. Is there a way to convert a .bar file to a BusinessArchive object?

Submitted by rtumminelli_1394599 on Tue, 06/11/2019 - 16:48

I found what I was looking for. You can read in .bar files using the BusinessArchiveFactory's method readBusinessArchive(file).

Thanks!

Submitted by nampham97se_1390962 on Wed, 06/12/2019 - 05:16

Hi, today i'm done with project webApp with Bonita. Now have time to read this post, congrat you found it.

Notifications