tomolimo / processmaker

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

Cannot start task #37

Closed grego1981 closed 6 years ago

grego1981 commented 6 years ago

Hello!

I'm trying to make GLPI work with PMaker, I have followed your instructions and I'm at the point of testing the process I created. I user GLPI 9.2 with plugin version 3.2.0 below is my configuration of the plugin: capture Processmaker and GLPI reside in different servers and I use AD authentication, which by the way I cannot seem to test in processmaker. Processmaker server is at IP 10.10.99.15 and GLPI is at 10.10.99.12.

When I try to use the process in a ticket I select the process and click start but nothing load with the interface remaining as if not selected the process. In apache of the processmaker server I get:

[Thu Dec 14 11:44:23.593867 2017] [:error] [pid 21576] [client 10.10.99.12:56964] PHP Notice: Undefined index: file in /var/www/processmaker/framework/src/templates/Exception.phtml on line 84 [Thu Dec 14 11:44:23.593910 2017] [:error] [pid 21576] [client 10.10.99.12:56964] PHP Stack trace: [Thu Dec 14 11:44:23.593916 2017] [:error] [pid 21576] [client 10.10.99.12:56964] PHP 1. {main}() /var/www/processmaker/workflow/public_html/glpi/app.php:0 [Thu Dec 14 11:44:23.593920 2017] [:error] [pid 21576] [client 10.10.99.12:56964] PHP 2. include() /var/www/processmaker/workflow/public_html/glpi/app.php:143 [Thu Dec 14 11:44:23.593925 2017] [:error] [pid 21576] [client 10.10.99.12:56964] PHP 3. Maveriks\Pattern\Mvc\View->getOutput() /var/www/processmaker/workflow/public_html/app.php:90 [Thu Dec 14 11:44:23.593928 2017] [:error] [pid 21576] [client 10.10.99.12:56964] PHP 4. Maveriks\Pattern\Mvc\PhtmlView->render() /var/www/processmaker/framework/src/Maveriks/Pattern/Mvc/View.php:246 [Thu Dec 14 11:44:23.593932 2017] [:error] [pid 21576] [client 10.10.99.12:56964] PHP 5. include() /var/www/processmaker/framework/src/Maveriks/Pattern/Mvc/PhtmlView.php:40 [Thu Dec 14 11:44:23.593961 2017] [:error] [pid 21576] [client 10.10.99.12:56964] PHP Notice: Undefined index: line in /var/www/processmaker/framework/src/templates/Exception.phtml on line 84 [Thu Dec 14 11:44:23.593968 2017] [:error] [pid 21576] [client 10.10.99.12:56964] PHP Stack trace: [Thu Dec 14 11:44:23.593972 2017] [:error] [pid 21576] [client 10.10.99.12:56964] PHP 1. {main}() /var/www/processmaker/workflow/public_html/glpi/app.php:0 [Thu Dec 14 11:44:23.593975 2017] [:error] [pid 21576] [client 10.10.99.12:56964] PHP 2. include() /var/www/processmaker/workflow/public_html/glpi/app.php:143 [Thu Dec 14 11:44:23.593979 2017] [:error] [pid 21576] [client 10.10.99.12:56964] PHP 3. Maveriks\Pattern\Mvc\View->getOutput() /var/www/processmaker/workflow/public_html/app.php:90 [Thu Dec 14 11:44:23.593983 2017] [:error] [pid 21576] [client 10.10.99.12:56964] PHP 4. Maveriks\Pattern\Mvc\PhtmlView->render() /var/www/processmaker/framework/src/Maveriks/Pattern/Mvc/View.php:246 [Thu Dec 14 11:44:23.593997 2017] [:error] [pid 21576] [client 10.10.99.12:56964] PHP 5. include() /var/www/processmaker/framework/src/Maveriks/Pattern/Mvc/PhtmlView.php:40

Attached is the glpi/files/_log/php-errors.log entry when hitting start log.txt

Also attached the process export

Create_User-1.pmx.txt

How can I debug this to view what's the problem??

Thank you and BR Gregory

tomolimo commented 6 years ago

Hello @grego1981 I'll check your issue ASAP, but currently, I've no time, as I'm working on a very urgent and top priority project. So be patient, Thank you Regards, Tomolimo

grego1981 commented 6 years ago

No problem! Thank you for your message! I'll wait

tomolimo commented 6 years ago

Hello grego1981, Did you already try with the tutorials from the wiki? https://github.com/tomolimo/processmaker/wiki/Tutorials Thank you regards, Tomolimo

grego1981 commented 6 years ago

Yes I tried with the tutorial with the same results, today I installed the new release, one problem solved is the view of the task list where previously I saw only guids and after the update I can see the names and descriptions correctly on a sync task. I still cannot start any flow, Below is the output of the php_error.log and attached the process export.

2018-01-25 08:36:25 [7@itsrv-05] PHP Notice(8): Undefined index: pm_users_id Backtrace : ...ins/processmaker/inc/processmaker.class.php:202 ...ins/processmaker/front/processmaker.form.php:12 PluginProcessmakerProcessmaker->login() 2018-01-25 08:36:25 [7@itsrv-05] PHP Notice(8): Undefined index: pm_users_id Backtrace : ...ins/processmaker/inc/processmaker.class.php:203 ...ins/processmaker/front/processmaker.form.php:12 PluginProcessmakerProcessmaker->login() 2018-01-25 08:36:25 [7@itsrv-05] *** PHP Notice(8): Undefined index: password Backtrace : ...ins/processmaker/inc/processmaker.class.php:205 ...ins/processmaker/front/processmaker.form.php:12 PluginProcessmakerProcessmaker->login() 2018-01-25 08:36:25 [7@itsrv-05] From PluginProcessmakerProcessmaker::login() in /var/www/html/glpi/plugins/processmaker/inc/processmaker.class.php line 220 Processmaker Plugin: - Soap problem: stdClass Object ( [status_code] => 4 [message] => Wrong password [version] => 2.0 [timestamp] => 2018-01-25 08:36:25 )

2018-01-25 08:36:25 [7@itsrv-05] *** PHP Notice(8): Undefined index: session Backtrace : ...ins/processmaker/inc/processmaker.class.php:613 ...ns/processmaker/inc/processmaker.class.php:2424 PluginProcessmakerProcessmaker->newCase() ...ins/processmaker/front/processmaker.form.php:14 PluginProcessmakerProcessmaker->startNewCase() 2018-01-25 08:36:25 [7@itsrv-05] From PluginProcessmakerProcessmaker::newCase() in /var/www/html/glpi/plugins/processmaker/inc/processmaker.class.php line 617 (0.025", 6.19Mio) SoapFault Object ( [message:protected] => Service Unavailable [string:Exception:private] => [code:protected] => 0 [file:protected] => /var/www/html/glpi/plugins/processmaker/inc/processmaker.class.php [line:protected] => 613 [trace:Exception:private] => Array ( [0] => Array ( [function] => __doRequest [class] => SoapClient [type] => -> [args] => Array ( [0] => <?xml version="1.0" encoding="UTF-8"?>

6295696525a32169e51cb24023539639GLPI_ITEM_CAN_BE_SOLVED0GLPI_TICKET_ID2867GLPI_ITEM_ID2867GLPI_ITEM_TYPETicketGLPI_TICKET_REQUESTER_GLPI_IDGLPI_ITEM_REQUESTER_GLPI_IDGLPI_TICKET_REQUESTER_PM_IDGLPI_ITEM_REQUESTER_PM_IDGLPI_TICKET_TITLE&Alpha;ί&tau;&eta;&mu;&alpha; &delta;&eta;&mu;&iota;&omicron;&upsilon;&rho;&gamma;ί&alpha;&sigmaf; &chi;&rho;ή&sigma;&tau;&eta;GLPI_ITEM_TITLE&Alpha;ί&tau;&eta;&mu;&alpha; &delta;&eta;&mu;&iota;&omicron;&upsilon;&rho;&gamma;ί&alpha;&sigmaf; &chi;&rho;ή&sigma;&tau;&eta;GLPI_TICKET_DESCRIPTION&lt;h1&gt;Form data&lt;/h1&gt;&lt;h2&gt;&amp;Sigma;&amp;tau;&amp;omicron;&amp;iota;&amp;chi;&amp;epsilon;ί&amp;alpha; &amp;nu;έ&amp;omicron;&amp;upsilon; &amp;chi;&amp;rho;ή&amp;sigma;&amp;tau;&amp;eta;&lt;/h2&gt;&lt;div&gt;&lt;b&gt;1) &Omicron;&nu;&omicron;&mu;&alpha;&tau;&epsilon;&pi;ώ&nu;&upsilon;&mu;&omicron; : &lt;/b&gt;&tau;&epsilon;&sigma;&tau; &chi;&rho;&eta;&sigma;&tau;&sigmaf;&eta;&lt;/div&gt;&lt;div&gt;&lt;b&gt;2) &Omicron;&nu;&omicron;&mu;&alpha;&tau;&epsilon;&pi;ώ&nu;&upsilon;&mu;&omicron; (&Mu;&epsilon; &lambda;&alpha;&tau;&iota;&nu;&iota;&kappa;&omicron;ύ&sigmaf; &chi;&alpha;&rho;&alpha;&kappa;&tau;ή&rho;&epsilon;&sigmaf;) : &lt;/b&gt;&Gamma;&rho;&eta;&gamma;ό&rho;&eta;&sigmaf; &Tau;&sigma;&iota;&nu;&tau;ά&rho;&eta;&sigmaf;&lt;/div&gt;&lt;div&gt;&lt;b&gt;3) &Eta;&mu;&epsilon;&rho;&omicron;&mu;&eta;&nu;ί&alpha; &epsilon;&kappa;&kappa;ί&nu;&eta;&sigma;&eta;&sigmaf; &epsilon;&rho;&gamma;&alpha;&sigma;ί&alpha;&sigmaf; : &lt;/b&gt;29-01-2018&lt;/div&gt;&lt;div&gt;&lt;b&gt;4) &Gamma;&epsilon;&omega;&gamma;&rho;&alpha;&phi;&iota;&kappa;ή &Theta;έ&sigma;&eta; : &lt;/b&gt;&Mu;&alpha;&gamma;&omicron;ύ&lambda;&alpha;&lt;/div&gt;&lt;div&gt;&lt;b&gt;5) &Tau;&mu;ή&mu;&alpha; : &lt;/b&gt;&Alpha;&gamma;&omicron;&rho;έ&sigmaf;&lt;/div&gt;&lt;h2&gt;&amp;Pi;&amp;rho;&amp;omicron;&amp;sigma;&amp;beta;ά&amp;sigma;&amp;epsilon;&amp;iota;&amp;sigmaf; - &amp;Pi;&amp;alpha;&amp;rho;&amp;omicron;&amp;chi;έ&amp;sigmaf;&lt;/h2&gt;&lt;div&gt;&lt;b&gt;6) &Eta;&lambda;&epsilon;&kappa;&tau;&rho;&omicron;&nu;&iota;&kappa;ό&sigmaf; &Upsilon;&pi;&omicron;&lambda;&omicron;&gamma;&iota;&sigma;&tau;ή&sigmaf; : &lt;/b&gt;&lt;br /&gt;&amp;lt;-&lt;/div&gt;&lt;div&gt;&lt;b&gt;7) &Epsilon;&nu;&sigma;ύ&rho;&mu;&alpha;&tau;&eta; &Tau;&eta;&lambda;&epsilon;&phi;&omega;&nu;&iota;&kappa;ή &Sigma;&upsilon;&sigma;&kappa;&epsilon;&upsilon;ή : &lt;/b&gt;&lt;br /&gt;&amp;lt;-&lt;/div&gt;&lt;div&gt;&lt;b&gt;8) &Alpha;&sigma;ύ&rho;&mu;&alpha;&tau;&eta; &Tau;&eta;&lambda;&epsilon;&phi;&omega;&nu;&iota;&kappa;ή &Sigma;&upsilon;&sigma;&kappa;&epsilon;&upsilon;ή : &lt;/b&gt;&lt;br /&gt;&amp;lt;-&lt;/div&gt;&lt;div&gt;&lt;b&gt;9) &Pi;&rho;ό&sigma;&beta;&alpha;&sigma;&eta; &sigma;&tau;&omicron; internet : &lt;/b&gt;&lt;br /&gt;&amp;lt;-&lt;/div&gt;&lt;div&gt;&lt;b&gt;10) &Lambda;&omicron;&gamma;&alpha;&rho;&iota;&alpha;&sigma;&mu;ό E-Mail : &lt;/b&gt;&lt;br /&gt;&amp;lt;-&lt;/div&gt;&lt;div&gt;&lt;b&gt;11) &Chi;&rho;ή&sigma;&eta; &sigma;ά&rho;&omega;&sigma;&eta;&sigmaf; &epsilon;&gamma;&gamma;&rho;ά&phi;&omega;&nu; : &lt;/b&gt;&lt;br /&gt;&amp;lt;-&lt;/div&gt;&lt;div&gt;&lt;b&gt;12) &Pi;&rho;ό&sigma;&beta;&alpha;&sigma;&eta; VPN : &lt;/b&gt;&lt;br /&gt;&amp;lt;-&lt;/div&gt;&lt;div&gt;&lt;b&gt;13) &Alpha;&nu;&tau;&iota;&gamma;&rho;&alpha;&phi;ή &Mu;&epsilon;&nu;&omicron;ύ/&Delta;&iota;&kappa;&alpha;&iota;&omega;&mu;ά&tau;&omega;&nu; Orama &alpha;&pi;ό : &lt;/b&gt;&lt;/div&gt;&lt;h2&gt;&amp;Pi;&amp;alpha;&amp;rho;&amp;alpha;&amp;tau;&amp;eta;&amp;rho;ή&amp;sigma;&amp;epsilon;&amp;iota;&amp;sigmaf; - &amp;Sigma;&amp;chi;ό&amp;lambda;&amp;iota;&amp;alpha;&lt;/h2&gt;&lt;div&gt;&lt;b&gt;14) &Sigma;&chi;ό&lambda;&iota;&alpha; : &lt;/b&gt;&lt;/div&gt;GLPI_ITEM_DESCRIPTION&lt;h1&gt;Form data&lt;/h1&gt;&lt;h2&gt;&amp;Sigma;&amp;tau;&amp;omicron;&amp;iota;&amp;chi;&amp;epsilon;ί&amp;alpha; &amp;nu;έ&amp;omicron;&amp;upsilon; &amp;chi;&amp;rho;ή&amp;sigma;&amp;tau;&amp;eta;&lt;/h2&gt;&lt;div&gt;&lt;b&gt;1) &Omicron;&nu;&omicron;&mu;&alpha;&tau;&epsilon;&pi;ώ&nu;&upsilon;&mu;&omicron; : &lt;/b&gt;&tau;&epsilon;&sigma;&tau; &chi;&rho;&eta;&sigma;&tau;&sigmaf;&eta;&lt;/div&gt;&lt;div&gt;&lt;b&gt;2) &Omicron;&nu;&omicron;&mu;&alpha;&tau;&epsilon;&pi;ώ&nu;&upsilon;&mu;&omicron; (&Mu;&epsilon; &lambda;&alpha;&tau;&iota;&nu;&iota;&kappa;&omicron;ύ&sigmaf; &chi;&alpha;&rho;&alpha;&kappa;&tau;ή&rho;&epsilon;&sigmaf;) : &lt;/b&gt;&Gamma;&rho;&eta;&gamma;ό&rho;&eta;&sigmaf; &Tau;&sigma;&iota;&nu;&tau;ά&rho;&eta;&sigmaf;&lt;/div&gt;&lt;div&gt;&lt;b&gt;3) &Eta;&mu;&epsilon;&rho;&omicron;&mu;&eta;&nu;ί&alpha; &epsilon;&kappa;&kappa;ί&nu;&eta;&sigma;&eta;&sigmaf; &epsilon;&rho;&gamma;&alpha;&sigma;ί&alpha;&sigmaf; : &lt;/b&gt;29-01-2018&lt;/div&gt;&lt;div&gt;&lt;b&gt;4) &Gamma;&epsilon;&omega;&gamma;&rho;&alpha;&phi;&iota;&kappa;ή &Theta;έ&sigma;&eta; : &lt;/b&gt;&Mu;&alpha;&gamma;&omicron;ύ&lambda;&alpha;&lt;/div&gt;&lt;div&gt;&lt;b&gt;5) &Tau;&mu;ή&mu;&alpha; : &lt;/b&gt;&Alpha;&gamma;&omicron;&rho;έ&sigmaf;&lt;/div&gt;&lt;h2&gt;&amp;Pi;&amp;rho;&amp;omicron;&amp;sigma;&amp;beta;ά&amp;sigma;&amp;epsilon;&amp;iota;&amp;sigmaf; - &amp;Pi;&amp;alpha;&amp;rho;&amp;omicron;&amp;chi;έ&amp;sigmaf;&lt;/h2&gt;&lt;div&gt;&lt;b&gt;6) &Eta;&lambda;&epsilon;&kappa;&tau;&rho;&omicron;&nu;&iota;&kappa;ό&sigmaf; &Upsilon;&pi;&omicron;&lambda;&omicron;&gamma;&iota;&sigma;&tau;ή&sigmaf; : &lt;/b&gt;&lt;br /&gt;&amp;lt;-&lt;/div&gt;&lt;div&gt;&lt;b&gt;7) &Epsilon;&nu;&sigma;ύ&rho;&mu;&alpha;&tau;&eta; &Tau;&eta;&lambda;&epsilon;&phi;&omega;&nu;&iota;&kappa;ή &Sigma;&upsilon;&sigma;&kappa;&epsilon;&upsilon;ή : &lt;/b&gt;&lt;br /&gt;&amp;lt;-&lt;/div&gt;&lt;div&gt;&lt;b&gt;8) &Alpha;&sigma;ύ&rho;&mu;&alpha;&tau;&eta; &Tau;&eta;&lambda;&epsilon;&phi;&omega;&nu;&iota;&kappa;ή &Sigma;&upsilon;&sigma;&kappa;&epsilon;&upsilon;ή : &lt;/b&gt;&lt;br /&gt;&amp;lt;-&lt;/div&gt;&lt;div&gt;&lt;b&gt;9) &Pi;&rho;ό&sigma;&beta;&alpha;&sigma;&eta; &sigma;&tau;&omicron; internet : &lt;/b&gt;&lt;br /&gt;&amp;lt;-&lt;/div&gt;&lt;div&gt;&lt;b&gt;10) &Lambda;&omicron;&gamma;&alpha;&rho;&iota;&alpha;&sigma;&mu;ό E-Mail : &lt;/b&gt;&lt;br /&gt;&amp;lt;-&lt;/div&gt;&lt;div&gt;&lt;b&gt;11) &Chi;&rho;ή&sigma;&eta; &sigma;ά&rho;&omega;&sigma;&eta;&sigmaf; &epsilon;&gamma;&gamma;&rho;ά&phi;&omega;&nu; : &lt;/b&gt;&lt;br /&gt;&amp;lt;-&lt;/div&gt;&lt;div&gt;&lt;b&gt;12) &Pi;&rho;ό&sigma;&beta;&alpha;&sigma;&eta; VPN : &lt;/b&gt;&lt;br /&gt;&amp;lt;-&lt;/div&gt;&lt;div&gt;&lt;b&gt;13) &Alpha;&nu;&tau;&iota;&gamma;&rho;&alpha;&phi;ή &Mu;&epsilon;&nu;&omicron;ύ/&Delta;&iota;&kappa;&alpha;&iota;&omega;&mu;ά&tau;&omega;&nu; Orama &alpha;&pi;ό : &lt;/b&gt;&lt;/div&gt;&lt;h2&gt;&amp;Pi;&amp;alpha;&amp;rho;&amp;alpha;&amp;tau;&amp;eta;&amp;rho;ή&amp;sigma;&amp;epsilon;&amp;iota;&amp;sigmaf; - &amp;Sigma;&amp;chi;ό&amp;lambda;&amp;iota;&amp;alpha;&lt;/h2&gt;&lt;div&gt;&lt;b&gt;14) &Sigma;&chi;ό&lambda;&iota;&alpha; : &lt;/b&gt;&lt;/div&gt;GLPI_TICKET_DUE_DATEGLPI_ITEM_DUE_DATEGLPI_ITEM_ITIL_CATEGORY_ID0GLPI_TICKET_URGENCY3GLPI_ITEM_URGENCY3GLPI_ITEM_IMPACT3GLPI_ITEM_PRIORITY3GLPI_TICKET_GLOBAL_VALIDATION1GLPI_TICKET_TECHNICIAN_GLPI_ID7GLPI_ITEM_TECHNICIAN_GLPI_ID7GLPI_TICKET_TECHNICIAN_PM_IDGLPI_ITEM_TECHNICIAN_PM_IDGLPI_URLhttp://itsrv-05.central2.local/glpi/glpi [1] => http://itsrv-01.central2.local:8888/sysworkflow/en/classic/services/soap2 [2] => urn:newCase [3] => 2 [4] => 0 ) ) [1] => Array ( [file] => /var/www/html/glpi/plugins/processmaker/inc/processmaker.class.php [line] => 613 [function] => __call [class] => SoapClient [type] => -> [args] => Array ( [0] => newCase [1] => Array ( [0] => Array ( [sessionId] => [processId] => 6295696525a32169e51cb24023539639 [taskId] => [variables] => Array ( [0] => variableStruct Object ( [name] => GLPI_ITEM_CAN_BE_SOLVED [value] => 0 ) [1] => variableStruct Object ( [name] => GLPI_TICKET_ID [value] => 2867 ) [2] => variableStruct Object ( [name] => GLPI_ITEM_ID [value] => 2867 ) [3] => variableStruct Object ( [name] => GLPI_ITEM_TYPE [value] => Ticket ) [4] => variableStruct Object ( [name] => GLPI_TICKET_REQUESTER_GLPI_ID [value] => ) [5] => variableStruct Object ( [name] => GLPI_ITEM_REQUESTER_GLPI_ID [value] => ) [6] => variableStruct Object ( [name] => GLPI_TICKET_REQUESTER_PM_ID [value] => ) [7] => variableStruct Object ( [name] => GLPI_ITEM_REQUESTER_PM_ID [value] => ) [8] => variableStruct Object ( [name] => GLPI_TICKET_TITLE [value] => Αίτημα δημιουργίας χρήστη ) [9] => variableStruct Object ( [name] => GLPI_ITEM_TITLE [value] => Αίτημα δημιουργίας χρήστη ) [10] => variableStruct Object ( [name] => GLPI_TICKET_DESCRIPTION [value] => <h1>Form data</h1><h2>&Sigma;&tau;&omicron;&iota;&chi;&epsilon;ί&alpha; &nu;έ&omicron;&upsilon; &chi;&rho;ή&sigma;&tau;&eta;</h2><div><b>1) Ονοματεπώνυμο : </b>τεστ χρηστςη</div><div><b>2) Ονοματεπώνυμο (Με λατινικούς χαρακτήρες) : </b>Γρηγόρης Τσιντάρης</div><div><b>3) Ημερομηνία εκκίνησης εργασίας : </b>29-01-2018</div><div><b>4) Γεωγραφική Θέση : </b>Μαγούλα</div><div><b>5) Τμήμα : </b>Αγορές</div><h2>&Pi;&rho;&omicron;&sigma;&beta;ά&sigma;&epsilon;&iota;&sigmaf; - &Pi;&alpha;&rho;&omicron;&chi;έ&sigmaf;</h2><div><b>6) Ηλεκτρονικός Υπολογιστής : </b><br />&lt;-</div><div><b>7) Ενσύρματη Τηλεφωνική Συσκευή : </b><br />&lt;-</div><div><b>8) Ασύρματη Τηλεφωνική Συσκευή : </b><br />&lt;-</div><div><b>9) Πρόσβαση στο internet : </b><br />&lt;-</div><div><b>10) Λογαριασμό E-Mail : </b><br />&lt;-</div><div><b>11) Χρήση σάρωσης εγγράφων : </b><br />&lt;-</div><div><b>12) Πρόσβαση VPN : </b><br />&lt;-</div><div><b>13) Αντιγραφή Μενού/Δικαιωμάτων Orama από : </b></div><h2>&Pi;&alpha;&rho;&alpha;&tau;&eta;&rho;ή&sigma;&epsilon;&iota;&sigmaf; - &Sigma;&chi;ό&lambda;&iota;&alpha;</h2><div><b>14) Σχόλια : </b></div> ) [11] => variableStruct Object ( [name] => GLPI_ITEM_DESCRIPTION [value] => <h1>Form data</h1><h2>&Sigma;&tau;&omicron;&iota;&chi;&epsilon;ί&alpha; &nu;έ&omicron;&upsilon; &chi;&rho;ή&sigma;&tau;&eta;</h2><div><b>1) Ονοματεπώνυμο : </b>τεστ χρηστςη</div><div><b>2) Ονοματεπώνυμο (Με λατινικούς χαρακτήρες) : </b>Γρηγόρης Τσιντάρης</div><div><b>3) Ημερομηνία εκκίνησης εργασίας : </b>29-01-2018</div><div><b>4) Γεωγραφική Θέση : </b>Μαγούλα</div><div><b>5) Τμήμα : </b>Αγορές</div><h2>&Pi;&rho;&omicron;&sigma;&beta;ά&sigma;&epsilon;&iota;&sigmaf; - &Pi;&alpha;&rho;&omicron;&chi;έ&sigmaf;</h2><div><b>6) Ηλεκτρονικός Υπολογιστής : </b><br />&lt;-</div><div><b>7) Ενσύρματη Τηλεφωνική Συσκευή : </b><br />&lt;-</div><div><b>8) Ασύρματη Τηλεφωνική Συσκευή : </b><br />&lt;-</div><div><b>9) Πρόσβαση στο internet : </b><br />&lt;-</div><div><b>10) Λογαριασμό E-Mail : </b><br />&lt;-</div><div><b>11) Χρήση σάρωσης εγγράφων : </b><br />&lt;-</div><div><b>12) Πρόσβαση VPN : </b><br />&lt;-</div><div><b>13) Αντιγραφή Μενού/Δικαιωμάτων Orama από : </b></div><h2>&Pi;&alpha;&rho;&alpha;&tau;&eta;&rho;ή&sigma;&epsilon;&iota;&sigmaf; - &Sigma;&chi;ό&lambda;&iota;&alpha;</h2><div><b>14) Σχόλια : </b></div> ) [12] => variableStruct Object ( [name] => GLPI_TICKET_DUE_DATE [value] => ) [13] => variableStruct Object ( [name] => GLPI_ITEM_DUE_DATE [value] => ) [14] => variableStruct Object ( [name] => GLPI_ITEM_ITIL_CATEGORY_ID [value] => 0 ) [15] => variableStruct Object ( [name] => GLPI_TICKET_URGENCY [value] => 3 ) [16] => variableStruct Object ( [name] => GLPI_ITEM_URGENCY [value] => 3 ) [17] => variableStruct Object ( [name] => GLPI_ITEM_IMPACT [value] => 3 ) [18] => variableStruct Object ( [name] => GLPI_ITEM_PRIORITY [value] => 3 ) [19] => variableStruct Object ( [name] => GLPI_TICKET_GLOBAL_VALIDATION [value] => 1 ) [20] => variableStruct Object ( [name] => GLPI_TICKET_TECHNICIAN_GLPI_ID [value] => 7 ) [21] => variableStruct Object ( [name] => GLPI_ITEM_TECHNICIAN_GLPI_ID [value] => 7 ) [22] => variableStruct Object ( [name] => GLPI_TICKET_TECHNICIAN_PM_ID [value] => ) [23] => variableStruct Object ( [name] => GLPI_ITEM_TECHNICIAN_PM_ID [value] => ) [24] => variableStruct Object ( [name] => GLPI_URL [value] => http://itsrv-05.central2.local/glpi/glpi ) ) ) ) ) ) [2] => Array ( [file] => /var/www/html/glpi/plugins/processmaker/inc/processmaker.class.php [line] => 2424 [function] => newCase [class] => PluginProcessmakerProcessmaker [type] => -> [args] => Array ( [0] => 3 [1] => Array ( [GLPI_ITEM_CAN_BE_SOLVED] => 0 [GLPI_TICKET_ID] => 2867 [GLPI_ITEM_ID] => 2867 [GLPI_ITEM_TYPE] => Ticket [GLPI_TICKET_REQUESTER_GLPI_ID] => [GLPI_ITEM_REQUESTER_GLPI_ID] => [GLPI_TICKET_REQUESTER_PM_ID] => [GLPI_ITEM_REQUESTER_PM_ID] => [GLPI_TICKET_TITLE] => Αίτημα δημιουργίας χρήστη [GLPI_ITEM_TITLE] => Αίτημα δημιουργίας χρήστη [GLPI_TICKET_DESCRIPTION] => <h1>Form data</h1><h2>&Sigma;&tau;&omicron;&iota;&chi;&epsilon;ί&alpha; &nu;έ&omicron;&upsilon; &chi;&rho;ή&sigma;&tau;&eta;</h2><div><b>1) Ονοματεπώνυμο : </b>τεστ χρηστςη</div><div><b>2) Ονοματεπώνυμο (Με λατινικούς χαρακτήρες) : </b>Γρηγόρης Τσιντάρης</div><div><b>3) Ημερομηνία εκκίνησης εργασίας : </b>29-01-2018</div><div><b>4) Γεωγραφική Θέση : </b>Μαγούλα</div><div><b>5) Τμήμα : </b>Αγορές</div><h2>&Pi;&rho;&omicron;&sigma;&beta;ά&sigma;&epsilon;&iota;&sigmaf; - &Pi;&alpha;&rho;&omicron;&chi;έ&sigmaf;</h2><div><b>6) Ηλεκτρονικός Υπολογιστής : </b><br />&lt;-</div><div><b>7) Ενσύρματη Τηλεφωνική Συσκευή : </b><br />&lt;-</div><div><b>8) Ασύρματη Τηλεφωνική Συσκευή : </b><br />&lt;-</div><div><b>9) Πρόσβαση στο internet : </b><br />&lt;-</div><div><b>10) Λογαριασμό E-Mail : </b><br />&lt;-</div><div><b>11) Χρήση σάρωσης εγγράφων : </b><br />&lt;-</div><div><b>12) Πρόσβαση VPN : </b><br />&lt;-</div><div><b>13) Αντιγραφή Μενού/Δικαιωμάτων Orama από : </b></div><h2>&Pi;&alpha;&rho;&alpha;&tau;&eta;&rho;ή&sigma;&epsilon;&iota;&sigmaf; - &Sigma;&chi;ό&lambda;&iota;&alpha;</h2><div><b>14) Σχόλια : </b></div> [GLPI_ITEM_DESCRIPTION] => <h1>Form data</h1><h2>&Sigma;&tau;&omicron;&iota;&chi;&epsilon;ί&alpha; &nu;έ&omicron;&upsilon; &chi;&rho;ή&sigma;&tau;&eta;</h2><div><b>1) Ονοματεπώνυμο : </b>τεστ χρηστςη</div><div><b>2) Ονοματεπώνυμο (Με λατινικούς χαρακτήρες) : </b>Γρηγόρης Τσιντάρης</div><div><b>3) Ημερομηνία εκκίνησης εργασίας : </b>29-01-2018</div><div><b>4) Γεωγραφική Θέση : </b>Μαγούλα</div><div><b>5) Τμήμα : </b>Αγορές</div><h2>&Pi;&rho;&omicron;&sigma;&beta;ά&sigma;&epsilon;&iota;&sigmaf; - &Pi;&alpha;&rho;&omicron;&chi;έ&sigmaf;</h2><div><b>6) Ηλεκτρονικός Υπολογιστής : </b><br />&lt;-</div><div><b>7) Ενσύρματη Τηλεφωνική Συσκευή : </b><br />&lt;-</div><div><b>8) Ασύρματη Τηλεφωνική Συσκευή : </b><br />&lt;-</div><div><b>9) Πρόσβαση στο internet : </b><br />&lt;-</div><div><b>10) Λογαριασμό E-Mail : </b><br />&lt;-</div><div><b>11) Χρήση σάρωσης εγγράφων : </b><br />&lt;-</div><div><b>12) Πρόσβαση VPN : </b><br />&lt;-</div><div><b>13) Αντιγραφή Μενού/Δικαιωμάτων Orama από : </b></div><h2>&Pi;&alpha;&rho;&alpha;&tau;&eta;&rho;ή&sigma;&epsilon;&iota;&sigmaf; - &Sigma;&chi;ό&lambda;&iota;&alpha;</h2><div><b>14) Σχόλια : </b></div> [GLPI_TICKET_DUE_DATE] => [GLPI_ITEM_DUE_DATE] => [GLPI_ITEM_ITIL_CATEGORY_ID] => 0 [GLPI_TICKET_URGENCY] => 3 [GLPI_ITEM_URGENCY] => 3 [GLPI_ITEM_IMPACT] => 3 [GLPI_ITEM_PRIORITY] => 3 [GLPI_TICKET_GLOBAL_VALIDATION] => 1 [GLPI_TICKET_TECHNICIAN_GLPI_ID] => 7 [GLPI_ITEM_TECHNICIAN_GLPI_ID] => 7 [GLPI_TICKET_TECHNICIAN_PM_ID] => [GLPI_ITEM_TECHNICIAN_PM_ID] => [GLPI_URL] => http://itsrv-05.central2.local/glpi/glpi ) ) ) [3] => Array ( [file] => /var/www/html/glpi/plugins/processmaker/front/processmaker.form.php [line] => 14 [function] => startNewCase [class] => PluginProcessmakerProcessmaker [type] => -> [args] => Array ( [0] => 3 [1] => Ticket [2] => 2867 [3] => 7 ) ) ) [previous:Exception:private] => [faultstring] => Service Unavailable [faultcode] => HTTP ) 2018-01-25 08:36:25 [7@itsrv-05] *** PHP Notice(8): Trying to get property of non-object Backtrace : ...ns/processmaker/inc/processmaker.class.php:2427 ...ins/processmaker/front/processmaker.form.php:14 PluginProcessmakerProcessmaker->startNewCase() 2018-01-25 08:36:25 [7@itsrv-05] *** PHP Notice(8): Trying to get property of non-object Backtrace : ...ins/processmaker/front/processmaker.form.php:16 [Create User.bpmn.txt](https://github.com/tomolimo/processmaker/files/1662777/Create.User.bpmn.txt) [Create_User-3.pmx.txt](https://github.com/tomolimo/processmaker/files/1662778/Create_User-3.pmx.txt)
tomolimo commented 6 years ago

Hello grego1981

2018-01-25 08:36:25 [7@itsrv-05] *** PHP Notice(8): Undefined index: pm_users_id Backtrace : ...ins/processmaker/inc/processmaker.class.php:202

Clearly this means for me that the GLPI user you are using is not in ProcessMaker server. Did you sync users between GLPI and PM using the cron task pmusers? see: https://github.com/tomolimo/processmaker/wiki/Automatic-actions

thank you, regards, Tomolimo

grego1981 commented 6 years ago

Thank you! That was it, the jobs were disabled. I've enabled them and the task started, The error messages during the process are from PMaker or form GLPI, for instance I started it and on going to the 2nd step (the first was create a ticket) I get the error   | The task doesn't have any users.

If you have any insight I would appreciate it otherwise the plugin seems to work for me as advertised!!

tomolimo commented 6 years ago

Thank you for your feedback, I'll have a look at your process, but this afternoon I'm attending a training, will see it tomorrow, regards, Tomolimo

tomolimo commented 6 years ago

Hello @grego1981 ,

It seems like you have not assign any users or groups to the 'Ticket Evaluation' task!

See:

image and

image

regards, Tomolimo

grego1981 commented 6 years ago

Thank you!! I have much reading to do!!

tomolimo commented 6 years ago

You're welcome