Bonita Doubts

Hi everyone,
I am new with Bonita and with the BPMN in general.I have a question.Does Bonita allow to insert in a process the instruction to open a desktop application and at the end of the application run to send an email?
I hope it is clear enough.
Thanks in advance and have a good day

Hi.
In Bonita BPM, you can do everything that can be done in Java.
And in java, you can open a desktop application and send mail. So you can do that with Bonita too.

To send mail, there already is an email connector.
To open a desktop application, you will need to develop your own connector.

Before doing so though, I would question the security issues related to this activity. Why would a web page want to open any application on a PC?

There is no good reason as far as I can tell,

One might suggest that it’s a word or PDF file. OK, then use the browser’s already built in capabilities to determine mime type and open the application rather than writing java code to open an application in the foreground, or in the background doesn’t say.

Just imagine a web page opening one or more applications on a PC in the background (i.e. not visible to the user) doing changes to the registry, reading and sending emails of a confidential nature and sending them to a third party etc. Absolute disaster…

What application is it you’re trying to open? What will the application be doing, data manipulation, or just emailing the contents of a users drive to a third party.

I’m not suggesting this is what you want to do, but this is the argument you have against your boss why it shouldn’t be done, and if they refuse your answer, go to your security department and advise them of what you’re being asked to do.

Anyway - No it’s NOT possible to do what you’re asking, well not on a client’s PC. JAVA is server based and I’m assuming you want to open the application on the client PC which is not possible. The Server where the Application server is based is as far as you can go. So opening an application on the server might be possible, but not on the CEO’s, CFO’s etc PC, no.

The above security concerns are exactly the reason it’s not possible to do it…

As for emailing yes, definitely as Yannick has said, there is an inbuilt email connector which you can use.

Apologies if I seem to burn down your idea, but just think of the potential hacking possibilities if it were possible to do this…

regards
Seán

Thank you for your kind answer

Hi Sean,
thank you for your answer.
Regards