AnsweredAssumed Answered

Process Definition activity route or approve/reject button click causes 500 error

Question asked by Piotr Pryzmont on Aug 23, 2016
Latest reply on Sep 26, 2016 by fahadnaseer

I'm using latest version of SugarCRM Enterprise 7.7.1.1.

I have a very simple Process definition on the Leads module where the first element is the Activity element. 

It doesn't matter if I have the form setting set to Route or Approve/Reject. When the assigned user tries to click the form buttons (Route or Approved/Reject) it always goes to HTTP: 500 Server Error.

 

In the log I'm getting this error:

Error inserting into table: pmse_bpm_flow: Query Failed: INSERT INTO pmse_bpm_flow (id,name,date_entered,date_modified,modified_user_id,created_by,deleted,cas_id,cas_index,pro_id,cas_previous,cas_reassign_level,bpmn_id,bpmn_type,cas_assignment_method,cas_user_id,cas_thread,cas_flow_status,cas_sugar_module,cas_sugar_object_id,cas_sugar_action,cas_adhoc_type,cas_adhoc_parent_id,cas_adhoc_actions,cas_delegate_date,cas_start_date,cas_finish_date,cas_due_date,cas_queue_duration,cas_duration,cas_delay_duration,cas_started,cas_finished,cas_delayed)
VALUES ('4444deb2-6921-11e6-8f87-b8e8cc95cc1c','','2016-08-23 11:04:25','2016-08-23 11:04:25','87b91a4b-c990-3062-7b3d-569e4695383f','87b91a4b-c990-3062-7b3d-569e4695383f',0,21,4,'bc51ecc2-691e-11e6-b947-319a5277945d',3,0,'e1d9b240-691e-11e6-a8a0-de43ec47b2e0','bpmnActivity','','87b91a4b-c990-3062-7b3d-569e4695383f',1,'QUEUE','Leads','43b7cf18-6921-11e6-81b8-ab72553316d9','None','','','','2016-08-23 11:04:25',NULL,NULL,NULL,0,0,0,0,0,0): MySQL error 1062: Duplicate entry '4444deb2-6921-11e6-8f87-b8e8cc95cc1c' for key 'PRIMARY'

 

Any ideas?

Outcomes