Getting the Case ID based on the URL

When i run my application from bonita. It shows that case “XXX” has started.
If i have a url “http://localhost:8080/bonita/portal/homepage?ui=form&theme=5336716116348039792&locale=en#form=Test--1.0--Process+Step1%24entry&task=315&mode=app&assignTask=true

How can i get the case id of the process from the above url.

Is there any possibility to save the case variable into a data variable in bonita process and use it in the jquery.

Please suggest a best approach.

Thanks,
Aparna

Hi,

You can use the REST API if you want to get information of your process through JQuery.

Thanks you for your Response.
yes i am using rest api & Jquery. but my requirement is.

When I starting a new process in bonita and in between the process i should show the list of pending tasks for that case.

I am using RestApi in Jquery and verifying with Display name and getting the pending tasks. But I wanted to verify with the caseid
Is this possible?

Regards,
Aparna