I try to configure a custom form for the start event of a process. I implemented the ProcForm interface. Now, I found in the documentation (chapter 5.2.2 of BPM subsystem manual) that the custom form has to be configured inside a file bpm-app.xml (app property bpm.formsConfig). I have several questions concerning this:
Do I have to insert the bpm.formsConfig property in the app.properties file of the core module?
Where (in which directory) do I have to create the bpm-app.xml file?
thank you for your reply. I applied the changes you proposed, and additionally, I inserted a mapping in web-screens.xml. Now, I get an empty list when I should select a start form for a start event (only the item ‘select a form’ is available. Is there any way how I can debug what is going on, or can I take any further information from a log file? I did not find anything.
Anyhow, I tried the sample project you provided (thank you for this also). This works on my side.
Hi! You can figure out what’s happening by debugging the com.haulmont.bpm.gui.app.ProcessFormRepository class. The list of available forms is build there. If you still won’t be able to find a problem, attach a small project that demonstrates how you adds a new form, I’ll take a look.
Hi Max,
thank you very much for your help. Anyhow, I did not succeed to get my form configured as start form. I attached my project here. There is only one business process defined. It is empty until now. If you drag a start event in it, and then try to set the start form for this event, you will see that the selection box for the start forms stays empty. I thought there should be two forms offered: The standard form and my AuditPrepare form. I would appreciate very much if you could have a look on my project.