External form rendering

Options
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎02-24-2016 07:49 AM
Hi,
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.
I have gone through the http://activiti.org/userguide/index.html?_ga=1.3314227.289762320.1452246556#externalFormRendering and
tried the activiti:formKey attribute, but its not working. May be I am not doing it the right way.
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?
Thanks,
Sandeep
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.
I have gone through the http://activiti.org/userguide/index.html?_ga=1.3314227.289762320.1452246556#externalFormRendering and
tried the activiti:formKey attribute, but its not working. May be I am not doing it the right way.
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?
Thanks,
Sandeep
Labels:
- Labels:
-
Archive
4 REPLIES 4

Options
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎02-25-2016 12:31 AM
Hi Sandeep,
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.
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.

Options
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎02-25-2016 01:46 AM
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.

Options
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎02-25-2016 04:59 AM
I don't think you can configure pop-up's in the BPM process. You will have to handle that at your UI layer itself.
Options
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎03-13-2016 09:48 PM
Thank you for information.,

