---
schema_version: "1"
id: fccc87b731b7fdf95db14baedd59d6ed26ed92df79e8b8445ed1b5c864940772
title: Launch Book Service Appointment Flow
collection: admin
version: current
locale: en-us
portal_url: https://docs.salesforce.com/admin/current/en-us/xcloud/264-0-0/aslm_bookservice_launch_book_service_appointment_flow.md
canonical_url: https://help.salesforce.com/s/articleView?id=xcloud.aslm_bookservice_launch_book_service_appointment_flow.htm&release=264.0.0&type=5
source_site: help.salesforce.com
content_type: documentation
content_hash: 5ad500bba58b7fe9c0f7b3d8a45acefc3b03e5ed099ae8f72684a9f55d8fcf88
description: You can launch the Book Service Appointment flow from various places in your Salesforce org, such as an account, an asset, a work type group, a quote, or a work order.
products:
  - Industry Solutions
  - Cross Cloud
release: "264"
---
# Launch Book Service Appointment Flow

You can launch the Book Service Appointment flow from various places in your Salesforce org, such as an account, an asset, a work type group, a quote, or a work order.

### Required Editions

<table class="slds-table slds-table_bordered slds-max-medium-table_stacked slds-m-bottom_small edition"><colgroup><col></colgroup><tbody><tr class=""><td class="slds-cell-wrap" style="vertical-align:top;">Available in: Lightning Experience</td></tr><tr class=""><td class="slds-cell-wrap" style="vertical-align:top;">Available in: Automotive Cloud, Communications Cloud, Consumer Goods, Energy and Utilities Cloud, Manufacturing Cloud, Service Cloud, and Media Cloud. <a href="https://help.salesforce.com/s/articleView?id=xcloud.aslm_editions.htm&amp;release=264.0.0&amp;type=5" title="Review the supported products and editions for Asset Service Lifecycle Management features.">View edition availability</a>.</td></tr></tbody></table>

<table class="slds-table slds-table_bordered slds-max-medium-table_stacked slds-m-bottom_small permission">
          <colgroup>
            <col style="width:50%">
            <col style="width:50%">
          </colgroup>
          <thead class="slds-text-title_caps ">
            <tr class="">
              <th scope="col" class="slds-cell-wrap" style="vertical-align:top;" id="d11499e65">REQUIRED USER PERMISSIONS</th>
              <th scope="col" class="slds-cell-wrap" style="vertical-align:top;" id="d11499e68">&nbsp;</th>
            </tr>
          </thead>
          <tbody>
            <tr class="">
              <td data-label="REQUIRED USER PERMISSIONS" class="slds-cell-wrap" style="vertical-align:top;" headers="d11499e65 ">To use Book Service Appointmment:</td>

              <td data-label="" class="slds-cell-wrap" style="vertical-align:top;" headers="d11499e68 ">
                <p>Salesforce Field Service</p>
                <p>AND</p>
                <p>Book Service Appointment</p>
                <p>AND</p>
                <p style="margin-bottom:0;">Field Service Scheduling</p>
              </td>

            </tr>
          </tbody>
        </table>

There are many ways to launch a flow to suit your requirements. Here are a few methods to launch the Book Service Appointment flow:

| Method | Description |
| --- | --- |
| Embed in a Lightning Page | To easily make a flow available to Lightning Experience or Salesforce app users, embed it in a Lightning page. See [Add a Flow to a Lightning Page](https://help.salesforce.com/s/articleView?id=platform.flow_distribute_internal_lab.htm&type=5&language=en_US). |
| Create a Quick Action (Button) | Launch workflows and perform a series of actions with just a few clicks. To quickly start the Book Service Appointment flow, create a quick action (button) on a record page. See [Create a Quick Action to Launch the Flow.](https://help.salesforce.com/s/articleView?id=platform.ls_create_flow_action.htm&type=5&language=en_US) |
| Create a button | Launch the Book Service Appointment flow from a custom button. See [Run an Autolaunched Flow from a Custom Button](https://trailhead.salesforce.com/content/learn/modules/autolaunched-scheduled-flows/run-autolaunched-flow-from-custom-button) and [Distribute the Flow with a Custom Button](https://trailhead.salesforce.com/content/learn/projects/flow_calculate/flow_calculate_implement). |
| Launch from Lightning Web Component (LWC) | Embed the Book Service Appointment flow within any Lightning Web Component using the Lightning flow component. This allows you to launch the flow seamlessly within the context of a custom component. See [Flow](https://developer.salesforce.com/docs/component-library/bundle/lightning-flow/documentation). |
| Launch from a Related List | You can start the Book Service Appointment flow from list buttons in list views or related lists. This method opens the flow in a window. See [Custom Buttons and Links](https://help.salesforce.com/s/articleView?id=platform.customize_enterprise.htm&type=5&language=en_US) and [Customize Related Lists](https://help.salesforce.com/s/articleView?id=platform.customizing_related_lists.htm&type=5&language=en_US). |
| Launch from Utility Bar | Add the Book Service Appointment flow to the utility bar to launch the flow from any page within Salesforce. See [Display a Flow on Every Page in Your Salesforce Org](https://help.salesforce.com/s/articleView?id=platform.customizing_related_lists.htm&type=5&language=en_US). |
| Trigger from an Apex class | You can launch a flow from an Apex class. The Flow. Interview class provides advanced controller access to flows and allows you to launch a flow and retrieve or manipulate flow variables using methods such as `getVariableValue`. See [Starting Flow Interviews](https://developer.salesforce.com/docs/atlas.en-us.apexref.meta/apexref/flow_interview_class.htm). |

Book Service Appointment flow can be called from any object. In this example, we are showing the steps to launch it from a Work Order object.

## Example: Add a Quick Action for Book Service Appointment to a Work Order

Add a quick action button on the Work Order object to start the Book Service Appointment flow.

### Required Editions

<table class="slds-table slds-table_bordered slds-max-medium-table_stacked slds-m-bottom_small edition"><colgroup><col></colgroup><tbody><tr class=""><td class="slds-cell-wrap" style="vertical-align:top;">Available in: Lightning Experience</td></tr><tr class=""><td class="slds-cell-wrap" style="vertical-align:top;">Available in: Automotive Cloud, Communications Cloud, Consumer Goods, Energy and Utilities Cloud, Manufacturing Cloud, Service Cloud, and Media Cloud. <a href="https://help.salesforce.com/s/articleView?id=xcloud.aslm_editions.htm&amp;release=264.0.0&amp;type=5" title="Review the supported products and editions for Asset Service Lifecycle Management features.">View edition availability</a>.</td></tr></tbody></table>

<table class="slds-table slds-table_bordered slds-max-medium-table_stacked slds-m-bottom_small permission">
            <colgroup>
              <col style="width:50%">
              <col style="width:50%">
            </colgroup>
            <thead class="slds-text-title_caps ">
              <tr class="">
                <th scope="col" class="slds-cell-wrap" style="vertical-align:top;" id="d11499e250">REQUIRED USER PERMISSIONS</th>
                <th scope="col" class="slds-cell-wrap" style="vertical-align:top;" id="d11499e253">&nbsp;</th>
              </tr>
            </thead>
            <tbody>
              <tr class="">
                <td data-label="REQUIRED USER PERMISSIONS" class="slds-cell-wrap" style="vertical-align:top;" headers="d11499e250 ">To create and update custom quote:</td>

                <td data-label="" class="slds-cell-wrap" style="vertical-align:top;" headers="d11499e253 ">
                  <p>Omnistudio Admin</p>
                  <p>AND</p>
                  <p>Salesforce Pricing Admin</p>
                  <p>AND</p>
                  <p>Salesforce Pricing Manager</p>
                  <p>AND</p>
                  <p style="margin-bottom:0;">Salesforce Pricing Design Time User</p>
                </td>

              </tr>
            </tbody>
          </table>

![Note](https://sf-zdocs-cdn-prod.zoominsoftware.com/tdta-xcloud-asset_service_lifecycle_mgmt-264-0-0-production-enus/645b17dc-6eea-4fac-9d5c-016dea098887/images/icon_note.png)

Note You can launch Book Service Appointment in several ways.

1. Create the Book Service Appointment button on the Work Order object.
    1. From Object Manager, in the Quick Find box, enter Work Order, and then select **Work Order**.
    2. Go to Buttons, Links, and Actions, and click **New Button or Link**.
    3. Enter a label.
        
        For example, enterBook Service Appointment.
    4. Enter a name.
        
        For example, enter Book\_Service\_Appointment.
    5. Select**Detail Page Button**as the display type.
    6. From Behavior, select **Display in new window**.
    7. Select**URL**as the content source.
    8. In URL, use the Lightning\_App link with the `c__recordId` parameter as the button link.
        
        The URL must follow this format:
        
        /lightning/n/<lightning\_app\_name>?c\_\_recordId=<work\_order\_id>
        
        <work\_order\_id>: Replace with the Order ID, based on where the flow is launched from.
        
        <lightning\_app\_name>: Replace with the label of the Lightning app page where you embedded the Book Service Appointment flow.
    9. To validate the format and structure of the URL, click **Check Syntax**.
    10. Save your changes.
        
        The Book Service Appointment button is created and it appears in the list of buttons.
2. Add a Book Service Appointment button to the Work Order page.
    
    1. From the Object Management settings for Work Order, go to **Page Layouts**.
    2. Click **Work Order Layout**.
    3. In the Work Order Layout section, click **Buttons**.
    4. Drag the Book Service Appointment button to the Custom Buttons section under Work Order Detail.
    5. Save your changes.
    
    The Book Service Appointment button is added to all Work Order pages.