tomolimo / processmaker

GLPI plugin that provides an interface with ProcessMaker (http://www.processmaker.com/)
31 stars 11 forks source link

Incorrect names of parallel tasks. No description. #148

Closed kofe88 closed 2 years ago

kofe88 commented 2 years ago

Describe the bug When creating several parallel tasks, the names of the tasks are swapped. Task descriptions are also not applied.

Screenshots

image

image

processmaker plugin 4.0.11 PM server 3.3.0-community-RE-1.7 GLPI 9.5.7

Tutorial_1-3.zip

tomolimo commented 2 years ago

Hello @kofe88 Did you synch the new tasks of the process in GLPI? Thank you Regards, Tomolimo

kofe88 commented 2 years ago

Hello @kofe88 Did you synch the new tasks of the process in GLPI? Thank you Regards, Tomolimo

Yes, of course, I synchronize every time there is a change in PM. I have attached a process file for an example.

tomolimo commented 2 years ago

ok, thank you Could you also give the GLPI version, the PM plugin version and the PM server version you are using? Thank you Regards, Tomolimo

kofe88 commented 2 years ago

processmaker plugin 4.0.11 PM server 3.3.0-community-RE-1.7 GLPI 9.5.7

Yes,

processmaker plugin 4.0.11 PM server 3.3.0-community-RE-1.7 GLPI 9.5.7

tomolimo commented 2 years ago

Hello @kofe88 I found the root cause: you are using the "Case label" as if it was the Task description (which is not): image This is used to define the title and the description of the current case. And as you are modifying the case labels within parallel tasks, one can't say the result...

I imagine that what you would like is to insert the task description in the ticket tasks: to do that, you just need to activate the "Insert Task Category comments in Task Description" here: image set this option to Yes, and you should have the task description inserted in the GLPI tasks (you need to restart a new case).

Don't forget to clear the "Case Labels" in the task properties in the process.

Here is the process with these modifications: Tutorial_1-4.zip

Thank you, Regards, Tomolimo

kofe88 commented 2 years ago

@tomolimo , I probably misunderstood, should everyone have the same case title? Can it be set somehow at the very beginning?

tomolimo commented 2 years ago

Hello @kofe88 Yes, everyone will have the same case title, and you can change it whenever you want, but it it will be for all the tasks belonging to that case. It can be changed in the properties of the tasks (it can be static or dynamic via case variables).

Thank you Regards, Tomolimo

tomolimo commented 2 years ago

Hello @kofe88

For additional info, you may check the ProcessMaker wiki: https://wiki.processmaker.com/3.2/Tasks#CASE_LABELS (but not the part on the parallel tasks as the custom PM server I've released is based on 3.3.0 and not on 3.6.0) And https://wiki.processmaker.com/3.2/Tasks#UsingVariablesInLabels

Thank you, Regards, Tomolimo

kofe88 commented 2 years ago

Hello @kofe88

For additional info, you may check the ProcessMaker wiki: https://wiki.processmaker.com/3.2/Tasks#CASE_LABELS (but not the part on the parallel tasks as the custom PM server I've released is based on 3.3.0 and not on 3.6.0) And https://wiki.processmaker.com/3.2/Tasks#UsingVariablesInLabels

Thank you, Regards, Tomolimo

Thank you, I understand!