I am working Software AG 8.0.In a Task when the Scope is set for Task Comments and attachments as "Process Instance", as I want the Documents attached in the Previous Tasks in the Process to be available for the entire Process, I am unable to view the attachments and when the file attachment link is clicked -- routed to the Properties page of the file.
But when the Scope is set as " Task Instance" I am able to view the attachments.
Can anyone let me know …how to set the properties of the attachment…when scope is given as “process Instance”
I found a way to get the attachments common to all task in a process (and even to access the attachments from outside a task).
I did not consider the “comments” part, only the files.
This is a turn around since I did not manage to set properly the tasks with the properties supplied by webMethods.
Here is the steps I followed :
Open Overview in eclipse
Delete the import of “/portlet/wm_comments_editor___commentseditor”
Drag and drop the item “Data/Attachments/Portal Container Attachments Provider” instead of the deleted portlet
Open the source (java) and type the following code in the initialize method (it sets the containerID to the first taskID) :