...
- In Joget Workflow, from a Process, map a Tool to plugins such as Database Update Tool.
Add the following code in to call the stored procedure.
Code Block call jogetaddrecord("hello");
Observe database change
Code Block |
---|
mysql> select * from app_fd_demo;
+---------------------+---------------------+---------------------+-----------+
| id | dateCreated | dateModified | c_message |
+---------------------+---------------------+---------------------+-----------+
| 2016-06-29 11:57:19 | 2016-06-29 11:57:19 | 2016-06-29 11:57:19 | hello |
+---------------------+---------------------+---------------------+-----------+
1 row in set (0.00 sec) |