# Actor deletion

**URL:** <https://community.ofelia.com/t/actor-deletion/8203>\
**Category:** Q&A\
**Created:** [13 February 2017 13:55 UTC](https://community.ofelia.com/t/actor-deletion/8203 "2017-02-13T13:55:39Z")\
**Posts on this page:** 4\
**Page:** 1

<div class="post-metadata">

**Author:** ![bbakri](https://avatars.discourse-cdn.com/v4/letter/b/9de0a6/32.png) [@bbakri](https://community.ofelia.com/u/bbakri)\
**Post date:** [13 February 2017 13:55 UTC](https://community.ofelia.com/t/actor-deletion/8203/1 "2017-02-13T13:55:39Z")

</div>

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

---

<div class="post-metadata">

**Author:** ![Sean\_McP](https://dub1.discourse-cdn.com/flex013/user_avatar/community.ofelia.com/sean_mcp/32/932_2.png) [@Sean\_McP](https://community.ofelia.com/u/Sean_McP)\
**Post date:** [13 February 2017 21:08 UTC](https://community.ofelia.com/t/actor-deletion/8203/2 "2017-02-13T21:08:31Z")

</div>

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._

---

<div class="post-metadata">

**Author:** ![bbakri](https://avatars.discourse-cdn.com/v4/letter/b/9de0a6/32.png) [@bbakri](https://community.ofelia.com/u/bbakri)\
**Post date:** [14 February 2017 07:59 UTC](https://community.ofelia.com/t/actor-deletion/8203/3 "2017-02-14T07:59:30Z")

</div>

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

---

<div class="post-metadata">

**Author:** ![Dibyajit.Roy](https://avatars.discourse-cdn.com/v4/letter/d/7ea924/32.png) [@Dibyajit.Roy](https://community.ofelia.com/u/Dibyajit.Roy)\
**Post date:** [14 February 2017 11:04 UTC](https://community.ofelia.com/t/actor-deletion/8203/4 "2017-02-14T11:04:06Z")

</div>

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