
Prodly
Build a Prodly Release data set, match Salesforce configuration records by stable keys and confirm reruns preserve their relationships.
- Data set
- Select three parent rule sets and twelve assignment rows.
- Standard Upsert
- Match each row by a stable destination key.
- Read back and rerun
- Confirm stable IDs, correct parent links and no new copies.
A UAT team needs the same three routing rule sets and their twelve assignment rows in two Salesforce sandboxes. The rows are records on custom objects. Use a Prodly Release data set to preserve their parent-child links and make a second run safe to check.
Define the data set and its match keys
Use the Data Set Editor to select the root routing rule set object, filter it to the three approved configuration keys, and include the related assignment object. Review the selected fields and relationship directions. Exclude customer records and unrelated configuration. Set a record matching method on each data set element. In this example, Standard Upsert uses stable keys that both sandboxes already recognize. Give each assignment row its own deterministic key so that rows under different parents stay separate.
In the destination, check that each source key maps to at most one row before running the deployment. Prodly documents that Standard Upsert errors on multiple matches. Review a collision before proceeding. The deployment can only behave consistently across environments if the key identifies the same record in both.
Deploy twice and compare the counts
| Test | Expected result | What to check |
|---|---|---|
| Deploy three parents and twelve assignments. | The destination has one row per approved configuration key. | Compare source and destination keys, plus each assignment’s parent lookup. |
| Change one approved assignment and deploy again. | The destination value changes. The total stays at three parents and twelve children. | Compare destination IDs and counts with the first run. |
| Introduce an ambiguous key in a disposable sandbox. | The matching step reports the collision instead of picking an arbitrary row. Use a test object or matching field where duplicate values are allowed. | Review the failed record result and correct the match before another run. |
Run a sample lead through routing in the UAT target after the data set lands. The deployment record confirms which rows moved. The lead test confirms Salesforce can use them. Use the integration guide to compare the results by key when a deployment only partially succeeds.