Share ideas, ask questions, and get feedback about developing for ProcessMaker

Moderator: amosbatto

Forum rules: Please post new questions under "Developing processes & programming" for ProcessMaker 2 or 3.
By gosmart
#5211
Hi all!

In my past, I have seen to many projects that were specified in one way, developed in other and then documented in third.
There were always problems with maintaining application documentation consistent with developed version.
Sometimes we can see it even with PM in wiki.

I've been thinking for some time about the possibility to automatically generate some user documentation from process information in the database.
Since ProcessMaker is selfdocumenting (all info about the process is within the system and not in eg. Word *.doc files)
it works exactly as documented. :) One of the greatest beauties of process management.

It would be great to generate User manual which explains the process exactly as is it executed.

Eg. User manual
1. Process map
2. List of process tasks
2.1. List of users entitled to execute task
2.2. List of task steps
2.3. Explanation of each step (eg. snapshot of form)
.
.
.
etc, etc.

I have seen some efforts here on forum,
eg.
RedNalie http://forum.processmaker.com/viewtopic.php?f=7&t=1583
jasonpsage http://forum.processmaker.com/viewtopic ... 4099#p4099 Check third paragraph!

Any comments?
User avatar
By amosbatto
#5247
This is an interesting proposal. You should file a "New Feature Request" at http://bugs.processmaker.com, asking for this feature. The major roadblock that I see at this point is that ProcessMaker doesn't have a feature to export the process map as an image which can be included in an email or an output document.

If you want to implement this yourself, you could write a script in a trigger which would generate a file containing all this information. It would require a lot of custom queries. You could execute this query by running a script with the web service executeTrigger() or you could add the Trigger as a step in a task and run the case.
By gosmart
#5251
I will probably work on that script.
Similar request appeared in http://forum.processmaker.com/viewtopic ... 7050#p7050

For the map, maybe guy in other post would do something using GraphViz.
(http://forum.processmaker.com/viewtopic.php?f=7&t=1583)
mysqli_free_result() error

Hello good afternoon I am having the same problem[…]

Thanks!

Hi, This user API https://wiki.processmaker.com/[…]

display pdf in panel control

Is there any solution?