Questions and discussion about developing processes and programming in PHP, JavaScript, web services & REST API.

Moderators: ArturoRobles, ArturoRobles

Forum rules: Please search to see if a question has already asked before creating a new topic. Please don't post the same question in multiple forums.
Hello, my question is: can I put a link in a dynaform that opens the process map? Is it that I have users who are using the simplified interface that does not have access to the information menu, and thought of putting a link in dynaform to access the process map ...
It's possible?
You can use this link:

For example: ... 1018221432

The easiest way to show the process map is to create a panel in your DynaForm with the ID "processMapPanel" which has the following in its content property:
Code: Select all
Then, add a checkbox with the ID "showMap".
Then, add the following JavaScript to your DynaForm:
Code: Select all
$("#showMap").setOnchange( function(newVal, oldVal) {
  if (newVal == '"1"') 
$("#processMapPanel").hide(); //when form loads 
Then, create the following trigger which is fired before the Dynaform:
Code: Select all
@@processMap = '<iframe width="100%" height="500px"
  src="../designer?prj_uid='[email protected]@PROCESS.
  '&prj_readonly=true&app_uid='[email protected]@APPLICATION.'" >';
Here is a sample process with this code:
(25.93 KiB) Downloaded 132 times
Very cool. One last: Is it possible to send a link to access the process map for someone who is not a user (a client for example) without having to log in to ProcessMaker and do not even have to log in to Tracker? A link or send the process map in the body of the email ... the idea is to send an email so that the customer can follow your request in a more agile way.

Thank you.
You can include the link in an email, but the user will have to login and have access to the case (assigned to case, Case Permissions or Process Supervisor) in order to be able to see it. The process map is generated dynamically with HTML and JavaScript, so it can't be sent as an image in an email.

I recommend using the Case Tracker. You can send the case number and the PIN number in an email and the person who receives the email doesn't have to be a registered user in PM or have access to the case.

ACTE is a national association representing thousa[…]

ACTE is a national association representing thousa[…]

MSSQLConnection.php on line 367

ACTE is a national association representing thousa[…]

Please, something similar is happening to me. I h[…]