How to get case ID of current process

I make one connetor which will insert data to external database after task is completed .
i want to store case id of that case into database
how can i achive

1 Like

Hi Kppatel,

When you are in Expression Editor you will be able to retrieve the id from select box on the right side. There is one variable called processInstanceId

Cheers

Hello Thank you i got it ,
as well how can i get Task ID ?
pl it would be appreciable

Thanks

Hi again,

It is activityInstanceId
Here you can found more info about expression editor which will help you with the other ones
http://documentation.bonitasoft.com/using-expressions-and-scripts