• Dynamically display message from workflow action handler

  • We tried to make OpenKM as intuitive as possible, but an advice is always welcome.
We tried to make OpenKM as intuitive as possible, but an advice is always welcome.
Forum rules: Please, before asking something see the documentation wiki or use the search feature of the forum. And remember we don't have a crystal ball or mental readers, so if you post about an issue tell us which OpenKM are you using and also the browser and operating system version. For more info read How to Report Bugs Effectively.
 #21888  by aliism
 
Firstly, I want to thank jllort and pavila for their huge help!

Here is my problem: In one task user uploads a file. In action handler I check if file is valid. If it's not valid I restart the task. How can I notify the user why the task was restarted?
 #21902  by jllort
 
From UI will not be trivial, the easies way from UI should be come back to previous task and add some comment ( you can add comments on workflow ), but could not be seeing by the user. Other solution could be send some mail. And for me the best solution could be go to some task only for display information, and continue go back to initial task.

Your problem indicate to me that should be necessary some warning or message form element - which actually we have not - I will think on it. Now you could use GWTText and GWTSeparator. Really I think GWTText could have some additional property like status="info, warning, error" and then colorate or something more easy like color="red" to make it more visible to end user.

About Us

OpenKM is part of the management software. A management software is a program that facilitates the accomplishment of administrative tasks. OpenKM is a document management system that allows you to manage business content and workflow in a more efficient way. Document managers guarantee data protection by establishing information security for business content.