Cases are being marked as archived when not completed



I've created the following process:

  1. Employee fills out form to be granted access to a system.
  2. The form goes through a workflow where Manager reviews and approves/rejects request.
  3. If Manager approves, the request goes to a security team.
  4. Security team reviews and approves/rejects request.
  5. If Security approves, Security will close request. Case is then complete.

What is happening is somewhere in the process, before security approves and close the request, the case is going into the archive. This should not be because if the case is not completed, it should not be archived.

What determines a case being active or archived?

1 answer



A case is archived as soon as all running branches reach an end event or as soon as a terminate end event is reached.

In order to help maybe you can export your process as a .bos file and share it?


Submitted by Michele.DuBose on Wed, 07/12/2017 - 20:37

How can I share the .bos file in this forum?

Submitted by antoine.mottier on Thu, 07/13/2017 - 09:31

You need to upload it for example on Google Drive or Dropbox and share the link.

Submitted by Michele.DuBose on Fri, 07/14/2017 - 17:00

I feel more comfortable providing a screenshot of the diagram. Will this work?

Submitted by antoine.mottier on Mon, 07/17/2017 - 10:52

It will be hard to tell what is going on with just a screenshot of the diagram. Maybe you can go in "administrator" view in the Portal, in the "BPM" menu select "Cases", switch to "Archived cases" tab click on the id of your process instance that is finished and check the "Done tasks" list to figure out which path the process execution took.

Submitted by Michele.DuBose on Mon, 07/24/2017 - 20:23

It seems in the path when the process goes to Link type 'Throw Link', that's when the case is archived. If my guess is correct, why may that force an archive?

Submitted by antoine.mottier on Tue, 07/25/2017 - 07:52

If 'Throw Link' and 'Catch Link' are correctly configured (it seems to be correctly done as there is no errors displayed on the diagram) I don't understand why process would stop when reaching throw link event.

Maybe you can take a look at Bontia Engine log file to see if it includes any errors. You might also share it here.

Also I think considering Bonita Subscription to have access to Bonitasoft support and be able to share diagram under NDA could be a good solution.

Submitted by Michele.DuBose on Tue, 07/25/2017 - 16:51

I see a bonita/logs directory. In this folder are multiple logs listed (bonita, catalina, tomcat, localhost). Which one of these would have the information from the workflow?

Submitted by antoine.mottier on Tue, 07/25/2017 - 17:06

Engine log file is the file named bonita.