Questions and discussion about using ProcessMaker: user interface, running cases & functionality

Moderator: ArturoRobles

By justinopsky
#828962
Hello
Is there a way to create a process that lists all existing processes and allows you to export the selected workflow of that process as a image.
The only solution i found was in Firefox if i use F12 and i can select the div of image and then export that div as image
Thanks
By justinopsky
#829023
I solved the problem by creating a new process where it lists all existing processes and where it allows obtaining the image of the workflow.

For this I used this trigger that is used before Dynaform
Code: Select all
$result = executeQuery("SELECT * FROM PROCESS"); 
if (is_array($result) && count($result) > 0)
{
    foreach ($result as $row){
        $PRO_UID = $row['PRO_UID'];
		@@DUMP2 = $PRO_UID;
		$row['PRO_ID'] = "http://{yourhost]/sysworkflow/{language}/neoclassic/designer?prj_uid=".$PRO_UID."&prj_readonly=true";
		@@link =$row['PRO_ID'];
		@#gridProcessos[] = $row;
	}
}
And in Dynaform I created a grid with the text fields PRO_UID and PRO_TITLE and a LINK field with the name PRO_ID and in the href I put the variable @@ link
image_workflow_01.PNG
image_workflow_01.PNG (21.72 KiB) Viewed 604 times
Python Development Company

CronJ Technologies is a next-generation global tec[…]

Bạn đang với nhu cầu bề ngoài nội thất ph&o[…]

Hiện nay kho lạnh đang được sử dụng trong nhiều ng[…]

Máy nén kho lạnh Dorin

Dorin hiện nổi tiếng khắp toàn cầu vì[…]