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.
#828081
Buenas, tengo un problema que he visto que han resuelto pero no he podido resolverlo yo. El problema es el siguiente:
Al momento de crear un usuario no me carga la parte para darle un rol al usuario, aparece en blanco y no me carga, por favor si alguien le ha pasado y lo ha solucionado le agradezco su ayuda. Ya he realizado la actualización de processmaker, reinicio, borra de cache y nada ya no se me ocurre nada, y si hay alguna otra opción para crear usuario me ayudan por favor gracias.
/////////////////////////////////////////
Hi, I have a problem that I have seen solved but he cannot solve it. The problem is the following:
At the moment of creating a user, the part to give a role to the user does not load, it appears blank and does not load, please if someone has passed it and solved it, I appreciate your help. You have already done the ProcessMaker update, reboot, clear the cache and nothing else I can think of nothing, and if there is any other option to create a user help me please thank you.
#828085
Hello,

It may be that when you updated your ProcessMaker a problem has occurred, for more information you can check the Upgrade Plan at this link: https://wiki.processmaker.com/ProcessMaker_Upgrade_Plan_v2#Upgrade_Road_Map

Another way to create a user is to use the PMFCreateUser function in a trigger, this places it after a dynaform.

For more information about triggers and places where they can be inserted, take a look at the following link:
http://wiki.processmaker.com/index.php/2.0/Triggers

Here is an example of the code using the PMFCreateUser function:

$txtUserId = @@UserID;
$txtPassword = @@Password;
$txtNombre = @@Nombre;
$txtApellido = @@Apellido;
$txtEmail = @@Email;
$txtRole = @@Role;

//Do any necessary validation

//Create the user
$var = PMFCreateUser($txtUserId, $txtPassword, $txtNombre, $txtApellido, $txtEmail, $txtRole);

if ($var == 0) {
@@text = 'Created';
} else {
@@text = 'Not created';
}

You can review in detail the use of the PMFCreateUser function in this link:
https://wiki.processmaker.com/3.2/ProcessMaker_Functions/User_Functions#PMFCreateUser.28.29

You can also enable "Debug" mode, for more information about how to enable it and how it can help you, follow this link:
http://wiki.processmaker.com/index.php/ ... Debug_Mode

Best regards, Ricardo.
CRUD and Process

Liliana i want to hear your answer if i say "[…]

Enabling SQL Server in Windows

I’m excited to uncover this page. I need to […]

Hi, Please use query like this: SELECT Forneced.[…]

Casos estão carregando em branco

Boa tarde! Prezados, estou com problemas em algun[…]