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

Moderator: amosbatto

By tamersherif
I am using Value Based Assignment to users using the example below and it works fine but is there a way to assign to group uid instead of user uid?, I tried but i got error:
Code: Select all
if (isset(@#amount) and @#amount >= 500.00) {
  @@NextUser = '089f76dfe59c13408500f0f852435ac7'; //UID of Ralph Baker
else {
   @@NextUser = '4b50c5a36630d3906475c945ed999051'; //UID of Amos Batto
User avatar
By programerboy
You can use this code:
Code: Select all
@=NEXT_USER = [];
$your_group_id = '';
$query = '
	select USR_UID
	where GRP_UID = "'.$your_group_id.'"
$result = executeQuery($query, $db);

	foreach ($result as $row)
		array_push( @=NEXT_USER, $row['USR_UID'] );
} ... 1iw/videos

Hi, I have a problem with iteration of subprocess[…]

I am creating an application using the Process Mak[…]

Hi guys, I recently landed into processmaker commu[…]

Thank you Ricardo, I am upgrading it to 3.4.11 Is[…]