Configure an optional activity for a case type playbook

  • Release version: Washingtondc
  • Updated February 1, 2024
  • 1 minute to read
  • Configure an optional activity in  the Process Automation Designer  (PAD) at various stages in a playbook so that agents and fulfillers can insert an activity during a playbook run. Optional tasks may be necessary in some instances. For example, a customer may want to schedule an optional task such as making an appointment to visit a location.

    Before you begin

    Role required: playbook_experience.admin

    About this task

    • Although you can insert global optional activities anywhere in the playbook, you can only insert stage-specific optional activities when a specified stage is active in the playbook. You can also add other global optional activities such as similar records, similar documents, and managed documents.
    • Some optional activities may need additional plugins to be installed. For example, for the Approval Request activity, if the approval action needs to be exposed to the customer via the service portal, you must install the plugin portal store app (com.snc:app-customer-service-portal) release version 23.2.4. To display the activities for the similar and managed documents in PAD, you must install the document management plugin (com.snc.platform_document_management).

    Procedure

    1. Navigate to All > Process Automation Designer in the context of the playbook that you want to add the optional activity to.
    2. On the new tab, select the playbook name under Multi-flow processes.
    3. See the optional activities under all the stages by turning on the toggle for Show optional activities.
    4. Select Add optional activity at any stage or globally.
    5. Under Add activity, select Playbook for Customer Service Management > Approval Request.
      A new approval request optional activity is created.
    6. Select the Approval Request optional activity.
    7. Under Edit activity properties, in the Details tab, add a Label, Description, Activity Definition, and set Start Rule to Manual.
      This setting is the Optional Activity indicator.
    8. Save the new activity record.
    9. Select View all properties.
    10. Navigate to Automation tab > parent records and select the parent record.
    11. Optional: Go to the Automation tab and set the values of the starting state and ending state.
      The values for the starting and ending states are derived from the value field of the sys_choice table.

      To create a custom state flow, see Create a state flow. Ensure that the class of the state flow is “Customer Service Case Flow." You can also configure more declarative actions for the optional activity. For more information, see Creating new declarative action assignments.

    12. Select Done.
    13. Select Activate.