How to create a database table without submitting a form?

Confluence User - 13 Oct, 2017

I am working on developing a Joget Workflow app (Community Edition), and I would like to know how I can make this Joget app creates a Mysql database table automatically if it does not exist. This table is linked to a form, but there is a scenario where there would be a need to insert records to the table before the form would be submitted for the first time, and I cannot depend on creating this table manually whenever the app would be installed on a new system..

 

Thanks in advance.

database;mysql;table;form

1


13 Oct, 2017
confluenceUser
confluenceUser

Hi, if I understood correctly, you can do several things: if the scenario you propose is related to a process as such you can include a tool at the beginning of the process that evaluates if the table is created and insert the records that you need directly connecting to the DB through a standard connection. On the other hand, you can put in a userview directly a form to be filled manually with the initial data you need, at that point Joget also, I think, will create the table automatically.

RELATED QUESTIONS

Your answer


To answer a question you'll need an account.

Print