We have a requirement to pop-up a dialogue in between an activiti process, take some input value and based on that input decide which task to execute. Now this pop-up can be an html or a jsp page in the webapp itself, which we want to render in the BPM process.
E.g. transferAmount.jsp is lying under webapp/pages/transfer folder. <userTask id="transferAmount" activiti:formKey="/pages/transfer/transferAmount.jsp"/>
Can you please provide some help on how to achieve this?
The activiti explorer will not look into your jsp's. The way you need to go about your requirement is by building it in a UI framework of your choice with a task inbox and when one of the tasks from the inbox is opened, you will get to know their form key by the help of getFormKey method in org.activiti.engine.task.Task.
Thanks Hari, but we will not be using Activiti explorer. Its just a spring based webapp running under a container, where we want to leverage BPM process to showcase our own UI interface, i.e. the process executes a sequence of tasks and in between pops-up a dialog for user input and based on that input decides the next task to execute.