Overview

A #Trigger Executable is configured on Opportunity (after insert). When a new Opportunity is created with an Original Opportunity specified, it automatically clones all Opportunity Line Items from the original Opportunity, copying key fields such as Product, Price, Quantity, Discount, and other required attributes.

General Use Case

Use #Trigger with a Joiner to automatically create and initialize child records based on existing data referenced by a source field—for example, copying line items when generating new Opportunities, Quotes, or Orders from an existing record.

Video Demo

Prerequisites

Opportunity.OriginalOpportunity__cLookup(Opportunity)

Downloadable Executables

DownloadOpportunity.LineItems.Clone

Walkthrough

1

Pipeline - Opportunity.Triggers

Screenshot 2026-04-21 at 2.00.43 PM
2

New Executable - Opportunity.LineItems.Clone

Screenshot 2026-05-01 120424
3

Trigger Settings

Screenshot 2026-04-21 at 2.01.47 PM
4

Scoping

Screenshot 2026-04-21 at 7.11.32 PM
5

Mapping

Screenshot 2026-04-21 at 7.11.57 PM