Actor deletion

1
0
-1

Hi,
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: com.company.model.TravelRequest.refusalReason

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

thanks

1 answer

1
0
-1

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

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

1.0.1
1.0.2
1.0.3
...
1.0.55

1.2.1
1.2.2
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.

regards
Seán

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

Comments

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.

Regards

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

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

Notifications