Announcement

Collapse
No announcement yet.

Help BpmnProcess

Collapse
X
 
  • Filter
  • Time
  • Show
Clear All
new posts

  • Help BpmnProcess

    I can't understand why the process failed during scheduled execution, but when I access the record and start it, it runs without any problems.

    Click image for larger version

Name:	image.png
Views:	191
Size:	11.9 KB
ID:	107874


    Click image for larger version

Name:	image.png
Views:	137
Size:	55.1 KB
ID:	107875​​
    [2024-06-27 21:37:46] ERROR: Process 667ddbaacc1fb7131 element 2rjof5yloq: Workflow: Send Request action: 0 response.


    Click image for larger version

Name:	image.png
Views:	140
Size:	37.1 KB
ID:	107876
    but when I access the record and start it, it runs without any problems.
    Click image for larger version

Name:	image.png
Views:	135
Size:	12.4 KB
ID:	107877​​

  • #2
    When you start manually, it executes by a webserver process. When it's started by cron, it's executed not by a webserver. Maybe that is is reason. Maybe it's a CURL request timeout. You can set DEBUG mode and see more info in the log.

    Comment


    • #3
      [2024-06-28 11:27:57] DEBUG: Start workflow rule [667e9cf1e4f71b759].
      [2024-06-28 11:27:57] DEBUG: Workflow\Actions: Start [startBpmnProcess] with cid [0] for entity [User, 1].
      [2024-06-28 11:27:57] DEBUG: BPM: startProcess, flowchart 667ac8b6d092ffeb4, target 1.
      [2024-06-28 11:27:57] DEBUG: BPM: prepareFlow, process 667e9e3d2ffd80bd1, element djxnm63uad.
      [2024-06-28 11:27:57] NOTICE: E_DEPRECATED: usort(): Returning bool from comparison function is deprecated, return an integer less than, equal to, or greater than zero {"code":8192,"message":"usort(): Returning bool from comparison function is deprecated, return an integer less than, equal to, or greater than zero","file":"C:\\wamp\\www\\intra\\custom\\Espo\\ Modules\\Advanced\\Entities\\BpmnProcess.php","lin e":108}
      [2024-06-28 11:27:57] DEBUG: BPM: prepareFlow, process 667e9e3d2ffd80bd1, element 3j563dvfgo.
      [2024-06-28 11:27:57] NOTICE: E_DEPRECATED: usort(): Returning bool from comparison function is deprecated, return an integer less than, equal to, or greater than zero {"code":8192,"message":"usort(): Returning bool from comparison function is deprecated, return an integer less than, equal to, or greater than zero","file":"C:\\wamp\\www\\intra\\custom\\Espo\\ Modules\\Advanced\\Entities\\BpmnProcess.php","lin e":108}
      [2024-06-28 11:27:57] DEBUG: Workflow\Actions: Start [sendRequest] with cid [0] for entity [User, 1].
      [2024-06-28 11:27:57] DEBUG: Workflow: Send request: payload:{}
      [2024-06-28 11:27:57] DEBUG: Workflow\Actions: End [sendRequest] with cid [0] for entity [User, 1].
      [2024-06-28 11:27:57] DEBUG: Workflow\Actions: Start [executeFormula] with cid [1] for entity [User, 1].
      [2024-06-28 11:27:57] DEBUG: Workflow\Actions: End [executeFormula] with cid [1] for entity [User, 1].
      [2024-06-28 11:27:57] DEBUG: BPM: prepareFlow, process 667e9e3d2ffd80bd1, element 6w26971xo6.
      [2024-06-28 11:27:57] DEBUG: BPM: prepareFlow, process 667e9e3d2ffd80bd1, element 9c1tadz455.
      [2024-06-28 11:27:57] DEBUG: BPM: prepareFlow, process 667e9e3d2ffd80bd1, element 57q5687jz0.
      [2024-06-28 11:27:57] DEBUG: BPM: prepareFlow, process 667e9e3d2ffd80bd1, element vsqf2srs8v.
      [2024-06-28 11:27:57] NOTICE: E_DEPRECATED: usort(): Returning bool from comparison function is deprecated, return an integer less than, equal to, or greater than zero {"code":8192,"message":"usort(): Returning bool from comparison function is deprecated, return an integer less than, equal to, or greater than zero","file":"C:\\wamp\\www\\intra\\custom\\Espo\\ Modules\\Advanced\\Entities\\BpmnProcess.php","lin e":108}
      [2024-06-28 11:27:57] DEBUG: Workflow\Actions: Start [sendRequest] with cid [0] for entity [User, 1].
      [2024-06-28 11:27:57] DEBUG: Workflow: Send request: payload:
      [2024-06-28 11:27:57] ERROR: Process 667e9e3d2ffd80bd1 element vsqf2srs8v: Workflow: Send Request action: 0 response.
      [2024-06-28 11:27:57] NOTICE: E_DEPRECATED: usort(): Returning bool from comparison function is deprecated, return an integer less than, equal to, or greater than zero {"code":8192,"message":"usort(): Returning bool from comparison function is deprecated, return an integer less than, equal to, or greater than zero","file":"C:\\wamp\\www\\intra\\custom\\Espo\\ Modules\\Advanced\\Entities\\BpmnProcess.php","lin e":108}
      [2024-06-28 11:27:57] DEBUG: BPM: endProcessWithError, process 667e9e3d2ffd80bd1.
      [2024-06-28 11:27:57] DEBUG: BPM: rejectActiveFlows, process 667e9e3d2ffd80bd1.
      [2024-06-28 11:27:57] INFO: BPM: triggerError
      [2024-06-28 11:27:57] NOTICE: E_DEPRECATED: usort(): Returning bool from comparison function is deprecated, return an integer less than, equal to, or greater than zero {"code":8192,"message":"usort(): Returning bool from comparison function is deprecated, return an integer less than, equal to, or greater than zero","file":"C:\\wamp\\www\\intra\\custom\\Espo\\ Modules\\Advanced\\Entities\\BpmnProcess.php","lin e":108}
      [2024-06-28 11:27:57] DEBUG: BPM: tryToEndProcess, process 667e9e3d2ffd80bd1.
      [2024-06-28 11:27:57] DEBUG: Workflow\Actions: End [startBpmnProcess] with cid [0] for entity [User, 1].
      [2024-06-28 11:27:57] DEBUG: End workflow rule [667e9cf1e4f71b759].​

      Comment

      Working...
      X