Portal URL for a overview on an Archived Case

Hello, Is the documentation is wrong or a bug in the Bonita Portal? In my Application page, I want to have a link to the overview case. Reading the documentation https://documentation.bonitasoft.com/bonita/7.10/bonita-bpm-portal-urls I see that the URL is

http://localhost:8080/bonita/portal/form/processInstance/8

where 8 is the case ID. It's work very well with an active case (example, 4007) When my case is archived, the links work, but the case overview page is empty: there are no data displayed. When I click on the overview in the portal, I see correctly all my data. It's maybe because I have to use the "Archived Id"? In Bonita, when a caseID is archived, it got a new ID. And 4007 becomes the "sourceObjectId".

So, thanks to LongBoard, I see the case ID 4007 has a new ID "12013" I try

http://localhost:8080/bonita/portal/form/processInstance/12013

and I got an error 404 What is the correct URL to access an archived case?

Using the following URL works for me:

http://localhost:8080/bonita/portal/form/processInstance/13 where 13 is the caseId (not the archivedCaseId)

Maybe there is another issue preventing the page to be displayed properly. Have you checked the server logs and the web console logs ?

Hello Romain,

I tested yesterday http://localhost:8080/bonita/portal/form/processInstance/4007 and I got an error 404. Today, it's works fine... I don't get it, but it's works now !

Thanks a lot, so the same URL can be used for a active and a archive case, that's perfect !

 

Hello Romain,

I tested yesterday http://localhost:8080/bonita/portal/form/processInstance/4007 and I got an error 404. Today, it's works fine... I don't get it, but it's works now !

Thanks a lot, so the same URL can be used for a active and a archive case, that's perfect !