Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

  1. To get started, enter "Flows" into the Quick Search Bar and select it from the Process Automation section.

  2. Create a new flow and choose the screen flow type.

  3. The flow will consist of a text variable and three screen elements: a Welcome Screen, a Billing Run Screen (where the Billing Run Initiator Component will be activated), and the Final Screen.

...

Flow Variable

To begin create a new text variable. Follow these steps:

  1. Under Toolbox, select Manager and click on New Resource.

  2. Input the following details:

    • Resource Type - Variable

    • API Name - recordId

    • Data Type - Text

    • Allow multiple values (collection) - Uncheck

    • Available for Input - Check

  3. Click Done.

Creating the Welcome Screen

To set up the Welcome Screen with a link, follow these steps:

...

This will allow users to access the Pre-Invoice associated with this flow by clicking on the link provided in the Welcome Screen.

Setting Up the Billing Run Screen

To create the Billing Run Screen with the Billing Run Initiator Component, follow these steps:

...

This configuration will ensure that the Billing Run Initiator works with the Pre-Invoice associated with the recordId variable.

Creating the Final Screen

To set up the Final Screen and provide a link to the invoiced Invoice, follow these steps:

...

Here's how the custom button should look:

...

Adding the Custom Button to the Page Layout

...