Lightning Builder streamlines the workflow by replacing the previous Analyze, Test, and Run modes with a simpler Test and Run experience.
Test calculates the workflow using the entire dataset and stores the results for reuse. Subsequent tests can use the stored results instead of recalculating the upstream nodes. Run recalculates the workflow from the source and writes the results to the destination, while Run from Test sends the results from the latest test to the destination without recalculating the upstream nodes.
Test and run your workflow
Lightning Builder provides three execution options:
Option | What it does |
Test | Calculates the workflow and stores the results in the cache. |
Run | Recalculates the workflow and writes the results to the destination. |
Run from Test | Uses the results from the latest test and writes them to the destination without recalculating the upstream nodes. |
Test a workflow
Use Test to validate a workflow while building or updating it.
Testing is performed against the entire dataset, rather than a limited sample of the data. The results are stored so that subsequent tests can reuse them instead of recalculating the upstream nodes.
For example, if the dataset contains 10,000 records, Test processes the complete dataset and stores the results for reuse.
Continue a workflow without repeating the test
For example, Alex tests a workflow on Monday and reviews the results. An urgent task comes up, so Alex stops working on the workflow.
On Friday, Mary needs to continue Alex’s work. Lightning Builder keeps the test results available, so Mary can open the workflow and continue with the same test results from Monday. She doesn't need to test the workflow again before continuing.
Run a workflow
Select Run to recalculate the workflow from the source and write the results to the destination. Unlike Run from Test, Run recalculates the workflow from the source rather than previously cached test results.
Test up to a specific node
Test a specific node to validate part of the workflow without running the entire workflow.
Select a node and select Test. Lightning Builder calculates the data up to that node without executing the downstream nodes.
For example, after adding a filter, select Test on that node to verify the filter results without executing the downstream nodes.
Run a workflow from test results
Select Run from Test after validating the results from a test and before sending those results to the destination.
For example:
Build or update the workflow.
Select Test to calculate and store the results.
Review and validate the results.
Select Run from Test to write the tested results to the destination.
Run from Test avoids recalculating the upstream nodes because it uses the results from the latest test.
Send test results to the destination
For example, Mary finishes testing a workflow and confirms that the results are correct. Instead of selecting Run and recalculating the workflow from the source, Mary selects Run from Test.
Lightning Builder uses the results from the latest test and writes them to the destination without recalculating the upstream nodes.
Refresh source data
Select Refresh on the source node to check for new or updated records without synchronizing the entire dataset.
Refresh can retrieve:
New records
Updated records
Changes to existing records, such as a name, department, or job title.
Refresh vs. Re-sync
Refresh and Re-sync serve different purposes.
Action | Description |
Refresh | Checks the source for new or updated records and retrieves those changes. |
Re-sync | Retrieves the complete dataset again and rebuilds the cached data. |
For example, if your dataset contains 500 records and two new records are added:
Refresh retrieves the new or updated records.
Re-sync retrieves the complete dataset again.
View the latest refresh and test timestamp
Lightning Builder displays the date and time of the most recent source refresh. Use this timestamp to see when Savant last retrieved data from the source.
Troubleshooting
1. What happens if I test my workflow multiple times?
Lightning Builder stores the latest test result. Each new test replaces the previously stored test result. After changing the workflow, select Test again to generate results for the latest version of the workflow.
2. How can I send tested results to the destination?
Select Run from Test to send the results from the latest test to the destination without recalculating the upstream nodes.
3. Can I access cached results after closing the browser?
Yes. Lightning Builder stores cached workflow data globally, so you can access the cached results after signing out, closing the browser, or switching browsers, as long as the cached data remains available.
4. What happens if I update my workflow after testing?
Select Test again to generate new results. Lightning Builder replaces the previously stored test result with the latest test result.
