Rejection Reason Input TextBox for Simple Workflow
Options
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
04-08-2010 08:37 AM
Hi All,
After reading http://forums.alfresco.com/en/viewtopic.php?f=34&t=19656 I would like some help with providing the user with a textbox where the user can write a comment on the reason for rejecting a document. This reason is then added to the aspect/properties of the document and moved to the reject destination folder/site
Has anyone used a javascript prompt in eg. review_processdefinition.xml? Or is there other means to get the user (reviewer) input on workflow transitions?
Any help appriciated.
Thanks
After reading http://forums.alfresco.com/en/viewtopic.php?f=34&t=19656 I would like some help with providing the user with a textbox where the user can write a comment on the reason for rejecting a document. This reason is then added to the aspect/properties of the document and moved to the reject destination folder/site
Has anyone used a javascript prompt in eg. review_processdefinition.xml? Or is there other means to get the user (reviewer) input on workflow transitions?
Any help appriciated.
Thanks
Labels:
- Labels:
-
Archive
1 REPLY 1
Options
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
04-08-2010 11:19 AM
Hello,
Have you taken a look at the ootb task model for review? The model defines a 'comment' text field. For rejection, you can extend the model and add 'Reason' or what have you. Part of the transition would then read that field, and add the necessary aspect to the documents in the bpm package and set the rejection reason.
If you desire to make it upon 'Reject' button is depressed, you might have to fallback to some custom java and jsps to get your desired result, or modify some of the client side js.
Just some suggestions/areas to look at.
Have you taken a look at the ootb task model for review? The model defines a 'comment' text field. For rejection, you can extend the model and add 'Reason' or what have you. Part of the transition would then read that field, and add the necessary aspect to the documents in the bpm package and set the rejection reason.
If you desire to make it upon 'Reject' button is depressed, you might have to fallback to some custom java and jsps to get your desired result, or modify some of the client side js.
Just some suggestions/areas to look at.
