Test Fullcast Routing Policies

Prev Next

This guide is for Fullcast Admins, Salesforce Admins, or RevOps users who have configured a Fullcast routing policy and need to test its behavior before activating it for live leads. Following these steps helps ensure your leads route as expected according to your defined rules.

Prerequisites

Before testing your routing policy, ensure you have:

  • A configured Routing Policy within Fullcast.

  • An active Salesforce Flow designed to trigger your Fullcast Routing Policy.

  • (Optional) Access to create or modify test Lead/Contact/Account records in your Salesforce test environment (Sandbox).

Testing Strategy

Proper testing ensures your policy logic works correctly across different scenarios. Here are a couple tips.

Progressive Testing When testing complex policies with multiple Routing Stages, start by enabling only the top-most stage. Test thoroughly, then progressively enable and test subsequent stages one by one. This helps isolate issues more easily.

Diverse Test Data Create test records with various data combinations that reflect your different routing rules and potential edge cases.

Planning Outcomes

Plan the expected outcome for each test record before creating it to compare against the actual results.

One way to organize your testing and track results is by using a table similar to the example below. You can adapt this format based on your specific policy stages and key data points. Using a structured approach like this helps ensure you cover different sceanrios and verify each part of your routing policy logic.

Example Test Tracking Table:

Routing Stage(s) Involved

Key Test Record Data

Expected Outcome

Actual Outcome (from Policy Status)

Notes

Best-matched Account, Role-based Routing

Email: user@example.com Company:Example, Inc.
Type: Prospect

BMA: Example, Inc. Owner: SDR for Enterprise East Territory

Routed to Riley Smith.

Correct outsome

[Next Stage/Scenario Tested]

[Key data points for this test]

[Your prediction based on policy rules]

[Fill in after checking Policy Status]

[Purpose/notes for this specific test case]

Step 1: Create Test Records in Salesforce

  1. Navigate to Salesforce and create a new Lead (or Contact/Account/Opportunity/Case, depending on your policy's object).

  2. Fill in the required fields. If your policy involves territory-based routing, it is crucial to populate the specific fields used in your territory rules (e.g., Number of Employees, State/Province, Country, custom fields). Ensure you provide data relevant for at least the first level of your territory structure, as this allows the policy to make an initial territory match.

  3. Save the record. This should trigger the Salesforce Flow you configured.

Step 2: Verify Routing via Policy Status

After the Flow triggers the policy, verify the routing outcome using the Fullcast Policy Status record. To streamline this, it is helpful to configure tabs/pages for the Policy Status records, add them to the page layout of the relevant object. For more information on the content on the Policy Status record, refer to Understand the Policy Status Page in Salesforce.

  1. In Fullcast, navigate to the relevant Policy Status page for the test record you created.

  2. Review the Policy Status details. This page confirms if the policy was triggered and provides insights into how Fullcast processed the record based on the data received (Input) and the policy's logic (Process), showing the final routing result (Output).

  3. Compare the Actual Outcome shown on the Policy Status page (e.g., the assigned owner, territory match) with your Expected Outcome from the testing strategy phase.

Step 3: Troubleshoot (If Necessary)

If the test record did not route as expected:

  1. Review the Policy Status page carefully, paying attention to the Input data received and the decisions made in the Process section.

  2. If the Input and Process contain correct information, but there is no Output, look for a related Fullcast Policy Error record.

  3. Verify the test record's data in Salesforce is accurate and complete.

  4. Check your Salesforce Flow logs to ensure it triggered correctly and passed the expected data to Fullcast.

  5. Review your Routing Policy configuration in Fullcast for any logical errors in the rules or stage setup.

For more detailed troubleshooting steps, refer to Troubleshooting Routing Issues

Conclusion

Thoroughly testing your routing policies in a sandbox or pre-production environment is crucial before deploying them to your live production environment. This ensures accurate lead assignment and minimizes disruption to your sales process.