How to get Prompt message, when Clicking on Task done Button in Jbpm workfow??

Options
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎01-02-2014 11:17 AM
Hi All,
I have Alfresco 4.2 and I create to create a JBPM workflow. I have one requirement.i.e, when clicking on task done button rise a prompt message. I checked transitions.ftl, .xml and .js files but, I didn't find any solution. Please tell me Task done button Event. Please guide me as early as possible…
I have Alfresco 4.2 and I create to create a JBPM workflow. I have one requirement.i.e, when clicking on task done button rise a prompt message. I checked transitions.ftl, .xml and .js files but, I didn't find any solution. Please tell me Task done button Event. Please guide me as early as possible…
Labels:
- Labels:
-
Archive
4 REPLIES 4

Options
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎01-02-2014 12:43 PM
Hello,
Let's start with a global optional comment.
Activiti is the preferred workflow engine over jbpm. I realise it might be a bit late now, but for your next workflows, consider giving activiti a try.
It's quite powerful and the eclipse designer plugin makes it really easy.
Then your question:
Have you tried overriding the form button with a custom template? It if doable using controls:
http://wiki.alfresco.com/wiki/Forms#control
This way you can define your component by forking the original one and handle whatever you want to do with your popup.
I never tried to use controls on the transition buttons but theoretically, it should work.
Let's start with a global optional comment.
Activiti is the preferred workflow engine over jbpm. I realise it might be a bit late now, but for your next workflows, consider giving activiti a try.
It's quite powerful and the eclipse designer plugin makes it really easy.
Then your question:
Have you tried overriding the form button with a custom template? It if doable using controls:
http://wiki.alfresco.com/wiki/Forms#control
This way you can define your component by forking the original one and handle whatever you want to do with your popup.
I never tried to use controls on the transition buttons but theoretically, it should work.

Options
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎01-03-2014 03:20 AM
Hi Scouil,
Thanks for your reply. Actually, my requirement is in jbpm workflow. when I click on Task done button It should ask "do you want to continue or not", then based on our reply remaining process will continue and where should I control the button events and Thanks for your suggestion. I knew activiti bpm. I did some examples also.
Thanks for your reply. Actually, my requirement is in jbpm workflow. when I click on Task done button It should ask "do you want to continue or not", then based on our reply remaining process will continue and where should I control the button events and Thanks for your suggestion. I knew activiti bpm. I did some examples also.

Options
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎01-03-2014 05:07 AM
Hi,
And so your workflow would take 2 different paths depending on the user's choice to continue or not?
Then if possible, I'd advise you to add a boolean as a metadata saying "Do you want to continue?".
This way you have 0 work to do. A popup would require a bit more work.
Is it a viable option to just have it as a workflow metadata or is the popup requirement mandatory?
And so your workflow would take 2 different paths depending on the user's choice to continue or not?
Then if possible, I'd advise you to add a boolean as a metadata saying "Do you want to continue?".
This way you have 0 work to do. A popup would require a bit more work.
Is it a viable option to just have it as a workflow metadata or is the popup requirement mandatory?

Options
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎01-17-2014 05:53 AM
Hi Scouil,
I got the popup when clicking on taskdone button. I found another way. Thanks for your reply and your support
I got the popup when clicking on taskdone button. I found another way. Thanks for your reply and your support
