Versions Compared

Key

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

...

  1. Create a new Autolaunched Flow (No Trigger).

  2. Add a new input variable that will serve as the unique identifier for each record to process. This input variable is necessary for the Batch Job creation.

    1. Click the New Resource button.

    2. Provide the following details:

      1. Resource Type = Variable

      2. API Name = Desired API Name of the input variable

      3. Data Type = Text

      4. Available for input (under the Availability Outside the Flow) = TRUE

  3. Add

    the

    a Get Records element to retrieve the record where an invoice will be generated.

    Image Added
    1. Make sure to provide the exact record that is object of the record.

    2. Filter the records to be processed based on the stored record in the input variable.

  4. Add an Action element to invoke the Invoice API invocable class.

    1. Filter by Type and select Apex Action

      Image Added
    2. Find and select the Invoice API invocable class.

Note: This is a test setup on how to set up Invoice API in Schedule Flow

...