Enabling and executing policies

The policies have to be triggered for them to be executed within Salesforce. There are 3 ways to do this: 
  1. Process builder
  2. Triggers 
  3. Scheduler

Using Process Builder

In order for a fullcast.io policy to work in Salesforce, you must enable it through your Salesforce instance by creating a process for that policy. The Process Builder in Salesforce is a tool that you can use to automate a business process. Your Fullcast Business Partner will assist in setting this up if you've purchased our Data Desk services. 
In order to set up the Process Builder for ANY Fullcast policy in Salesforce:
  1. Log in to your Salesforce instance. 
  2. From Setup, type in Process Builder into the Quick Find search box. 
  3. Select Process Builder, and click New.
  4. Give the new process a Name and Description. From the drop-down list under The process starts when, select It's invoked by another process.
  5. Click Save

  6. Click Add Object. Select an object to associate with the process from the drop-down list. Click Save.
  7. Next, define the criteria that must be true before the process can be executed.
  8. Click Add Action. From the drop-down menu, select Apex for the action type. 
  9. Fill in an Action Name, and select Policy Handler from the Apex Class drop-down menu.
  10. Now, set the mandatory Apex variables. 
    1. For the policy type field: select String for the variable type, and under Value, enter the policy name you'd like to set up.
    2. For the record ID field: select Field Reference for the variable type, and under Value, search and enter Lead ID.
    3. For the Input Value 1 field: select Field Reference for the variable type. Under Value, search and enter for what you'd like the tag to be determined by. If you want to filter by Lead source, for example, you must enter Lead Source in the value section.
    4. For the Input Value 2 field: select Field Reference for the variable type. Under Value, search and enter for what you'd like the skills to be determined by. If you want to filter by Status, for example, you must enter Status in the value section.
    5. For the Input Value 4 field: select Field Reference for the variable type. Under Value, enter "WILDCARD" to use wildcard operators. Input Value 4 is only used for Routing.
    6. For the Input Value 5 field: select Field Reference for the variable type. Under Value, enter "ASYNC" to make the motion package run asynchronously. 
  11. Input Values vary by policy.

    Based on the policy requirements, you'll need to pass a specific combination of Input Values in the Process Builder. This varies by policy and is highly customizable to the business requirements. As an example, Input Value 4 (Wildcard) is only used in routing policies.

  12. Click Save when you've finished setting the Apex variables.
  13. When you're done defining the criteria for your process, click Activate. 

Keep your Process Builder light

It is advised that the process builder setup be very light, as it is only used to trigger a Fullcast Motion policy upon a specific event or point in time at which the policy needs to activate. Here, you're defining those circumstances, but in the Fullcast Motion Module policy pages, you're defining the specific actions to execute.

Hierarchy and Inheritance of Policies

In the fullcast.io hierarchy, policies don't need to be enabled at every node. As long as a parent node in the hierarchy has a policy defined, all immediate children of that parent are able to execute that policy. However, if you'd like to execute a policy at only the child level of a particular parent node, there must still be a placeholder policy in place at the parent level.

Setting up routing functions in Salesforce

In addition to the above, in order to set up certain routing functions in Fullcast, such as territory-based lead routing, you must enable it through your Salesforce instance using the Custom Metadata settings.  
To set up the following policy functions refer to the guides below:
Lead Routing
Account Routing
Opportunity Routing
Account Dedupe

Setting up Routing for any object

In order to do any kind of routing in fullcast - before configuring the policy in the Motion Module, you'll need to enter the tenant ID in Salesforce. 
To enter or update the correct Tenant ID, follow along here:
  1. Log into your Salesforce instance.
  2. Go to Setup, and search for Custom Metadata Types in the search bar.
  3. Look for the Fullcast Policy Setting in the list.
  4. Click Manage Records for Fullcast Policy Setting.
  5. Click Edit next to the Tenant Id record.
  6. Enter the tenant ID for your Fullcast instance where it says Field Value.
  7.  You can find your Fullcast tenant ID by clicking on your user icon in the top right corner of your screen
  8. Click Save to complete the tenant ID configuration.

Did this answer your question? Thanks for the feedback There was a problem submitting your feedback. Please try again later.

Still need help? Contact Us Contact Us