Questions and discussion around ProcessMaker 2 documentation

Moderators: ArturoRobles, ArturoRobles

In the documentation of "Self Service Value Based Assignment", it states "The value of @SYS_GROUP_TO_BE_ASSIGNED can be set in a trigger, which should be set to fire at some time before task assignment".

I create a workflow and leave the variable as @@SYS_GROUP_TO_BE_ASSIGNED as default value of self service value based Assignment of the task , I do not have any trigger to assign any value to this variable. The workflow works fine.
It just assign the task to user group of this task.

So my question is, is this variable having default value set by processmaker?
Hi liliana:

Here is the capture of the workflow.
The is the self Service Value Base Assignment setting
selfServiceValuebaseAssign.png (22.17 KiB) Viewed 3301 times
This is user group assigned to this task
taskUserGroup.png (12.4 KiB) Viewed 3301 times
Do you mean the value of this variable @@SYS_GROUP_TO_BE_ASSIGNED is set by default as well? I do not think I have any trigger to assign a value to this variable. And the workflow works fine. It assigned the task to the AU Domestic commercial Managers

If so, the documentation about this feature is a little bit unclear.

Would you clarify about the value assignment to this variable?


kindly regards


Yes, but you can change it and use it in a trigger or in a dynaform, the valu by default will be only set in the task properties. For example you can change that variable to @@Groups and that variable could be used inside your dynaform to list all groups you have created. Then you don't need to assign any groups or users in your task since everything is being controlled by your dynaform, so when you start a case you can choose the group where users will be assigned to the next task, as this is a self service, all users will receive the case but the one who claims it will be the owner.
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[…]