Creating a custom task type that adds a custom button

You can add another button that displays to review participants in Workspace. For example, add another button in the approver task, which is named Approved with changes. The button provides the same function as the Approve button, and the decision of the approver is stored as a disposition.

  1. In Workbench, retrieve the application ReviewCommentingAndApproval application.

  2. Create a LiveCycle Application named CustomTaskTypes.

  3. Copy the AssignTaskToApprover process from the ReviewCommentingAndApproval application to your CustomTaskTypes application, rename the process to CustomAssignToApprover.

  4. Open the CustomAssignToApprove in the process editor.

  5. Keep the Approver Task and delete Approver Task (Complete By Email) for this example

  6. Copy Set Status APPROVED and rename it as Set Status APPROVED With Changes.

  7. Draw a route from Approver Task operation to Set Status APPROVED With Changes.

  8. Add a new string variable named disposition.

  9. Select "Set Status APPROVED (execute operation) operation, and add the following value:

    Location: /process_data/@disposition

    Expression 'Approved'.

  10. Select the Set Status REJECTED operation (execute operation) and add the following mapping: Location: /process_data/@disposition: Expression 'Rejected'

  11. Select Update ParticipantTO operation (Execute operation) and add the following mapping:

    Location: /process_data/participantTO/object/@disposition

    Expression: /process_data/@disposition.

  12. Select the Approver Task operation (Assign Task operation) and in the User Actions property, click the Add button.

  13. Type Approve with Changes in the action name and select Set Status Approved With Changes as the destination.

  14. Save and deploy the application.

// Ethnio survey code removed