Actor deletion


I am new to BonitaSoft and following the training videos. On Travel Tool examp, by mistake, I created an actor on Manager Review Tab \ Actors Tab, on Select Employee actor drop-down list, I clicked on button Add. There I created an actor named 'helen.kelly.. Now, when the form and submit a request, I get the below error

USERNAME=helen.kelly | org.bonitasoft.engine.persistence.SRetryableException: javax.persistence.PersistenceException: org.hibernate.PropertyValueException: not-null property references a null or transient value:

I suppose if I remove this actor, it should work. Please tell me how.


1 answer


First thing, No Backup? Sorry - but always something to consider.

For all our processes we have a x.y.z numbering system

  1. 1.0.1
  2. 1.0.2
  3. 1.0.3
  4. ...
  5. 1.0.55
  7. 1.2.1
  8. 1.2.2
  9. etc.

Well worth remembering, and duplicating is easy and quick to enable you to do this: Diagram->Duplicate->Rename

We do this everyday and when we make even the smallest "unknown" change.

As you've found there is no easy way to remove an Actor but you could try this:

Open folder {BonitaInstallFolder}\workspace\default\diagrams
Copy the Diagram giving it a new name as a safety copy
Open the Diagram in NotePad++ or similar XML Editor
Find and delete the Actor XML for this problem
Try opening it and running it again

If it fails you can go back to the copy and try again.

Otherwise you'll have to start again from Origin.


PS: As this reply offers an answer your question, and if you like it, please Mark UP and/or as Resolved.


Submitted by bbakri on Tue, 02/14/2017 - 08:59

Your answer is far from my question. Please check.
Anyway, I followed your feedback with no luck. I could not find the actor that i created during the exercise on Manager Review roles.


Submitted by Dibyajit.Roy on Tue, 02/14/2017 - 12:04

Click on the Pool and not the swim lanes.
There under general => Actors . You can delete actors if you want.