Creating a custom prepareDocument process
In Workbench, complete the following steps to create a
custom prepareDocument process so that a final commenting footer
is not added to review documents:
-
In Workbench, retrieve the ReviewCommentingAndApproval
application.
-
Create an application, such as MyCustomApp.
-
Copy the prepareDocumentForReview process from the ReviewCommentingAndApproval
application to your application in step 2.
-
Rename the process to prepareDocumenForReviewModified.
-
Open the process for editing and select the Assembled Review
Document operation,which is located in the Attach Footer swimlane.
-
Replace the operation with a Set Value operation and name
it Set Out Document.
-
For the Set Value operation, add following data mapping:
Location:
/process_data/@outDoc
Expression:
/process_data/@inDoc
-
Draw a route from this operation to the Check List Size operation
in the Attach Footer swimlane.
-
Delete the route to the Extract Assembled Doc operation.
-
Save and deploy the application.