Questions and discussion about using ProcessMaker 2: user interface, running cases and functionality
Forum rules: Please search to see if a question has already been asked before posting. Please don't ask the same question in multiple forums.
By kratos97
#827327
Hi,
Is there any possibility to get Title and Category of current process? I would like to display these values ​​on the dynaform.
Thanks.
User avatar
By RicardoMG
#827820
Hello!
At the moment ProcessMaker do not have a system variable that gets the category's name. but you can create a trigger and put it before the dynaform with the following code:
Code: Select all
$proc = @@PROCESS;
$result = executeQuery("SELECT CATEGORY_NAME 
FROM PROCESS_CATEGORY
INNER JOIN PROCESS
ON PROCESS_CATEGORY.CATEGORY_UID = PROCESS.PRO_CATEGORY
WHERE PROCESS.PRO_UID ='$proc'");
@@categoryName = $result[1]['CATEGORY_NAME'];
In the varaible @@categoryName it contains the name of the category which can be assigned to a textbox or whatever you need.

https://drive.google.com/file/d/1aiW3x1DInE4Z0W6whTRGO4HtTV_xDapl/view?usp=sharing

A 1xbet clone script is a pre-designed software so[…]

4rabet clone script is enabling entrepreneurs to e[…]

Parimatch clone script is enabling entrepreneurs t[…]

In the world of cryptocurrency, a wallet is an app[…]