How to configure US trade Embargo policy?

Policy Execution

For any policy to be executed, the following two steps are necessary. 

  1. Setting up Process Builder in Salesforce Environment. 
  2. Configuring the policy in Fullcast Environment.

Some people, cities, states and countries are restricted from doing business with US. Embargo policy helps to identify these restricted person/entities.

Create Embargo Policy in Motion App

  1. Click on the Motion tab in fullcast.io.
  2. Select Policies by territory and click on Review policies.
  3. Click “Add New Policy”.
  4. From the Policy Catalog, select US Trade Embargoes

Object Selection

Select an Object (Lead, Account or Contact) from the drop-down menu in the Review option for which  the policy has to be executed.  

Stage 1: Search Lists

1. The search list provides a set of lists issued by the Government of United States. This lists consists of the details of the people, cities, or countries which are embargoed. To know in detail about this search list, click here

2. Based on requirement, users can select one or more options (or all). It is mandatory to select at least one option.

Embargo Lists

The boxes you check in Stage 1 should be specific to the object chosen. (E.g., You wouldn't choose a persons list if the object you selected was "Accounts") 

Stage 2: Search Accuracy

1. Select this field to allow the system to select objects to cross-check that may not be a perfect or exact match for what the lists (Stage 1) are looking for. 

 2. If fuzzy search is enabled, then set a number between 1-100 in the text-box next to **Only tag if score is greater than or equal to** so that the policy will run against the records which meet the specified percentage of matching criteria. 

Stage 3: Set Search field options

1. Click the [+] button next to **Name Fields** to add *Name* data fields that you want to cross-check against the lists you chose in Stage 1. (E.g., Person Name, Account Name)

2. Click the [+] button next to **Country Fields** to add *Country* data fields that you want to cross-check against the lists you chose in Stage 1. (E.g., Leads or Contacts that have basic country information)

Stage 4: Tagging

1. Select the field that needs to be tagged. If an entity/person is Embargoed, then it will be tagged with the matched sources in the given field.
  E.g. If you select  “Embargo reason” in the tagged field, then all the matched sources should be tagged to this field.

2. Click Save changes to create the policy. 

Setup Process Builder in Salesforce environment for policy execution

  1. Log into the Salesforce environment and click Setup -->Process Builder.
  2. Start creating the process builder for the policy by clicking the New button.
  3. Give a process name in the window that pops-up. An API name that is unique for each policy is generated automatically after the process name is entered. 
  4. Add a description message, if needed.
  5. Select an action from the drop-down menu. This will decide when to run the process. 
  6. Now in the UI that appears select the object for which the policy was created in Motion App. Also specify when to start the process and Save.
  7. Now click the add criteria option in the decision box of the process builder. 
  8. Give a criteria name and select a criteria to execute the action. 
  9. Set conditions, when to take immediate actions. These conditions depends on Holdout Selection criteria that have been configured in the new policy that was created in Motion App.
  10. For example, for the Holdout policy, the condition field that were set to pick the open opportunities was Amount is greater than 50K . Set the condition to take an action when the condition is met and an action when the condition is not met.
  11. Add an action to be executed. The Action type field should be selected as “Apex”. Enter an Action Name . Select “Policy Handler” for Apex Class .
  12. Set Apex Variables as following for 
  • Account Embargo

Required Fields

1. PolicyType: Set the Type of string with value “EmbargoesCompliance’  (case sensitive) 
2. RecordID : Use field reference in the type to select Account ID
Optional Fields
1. InputVar1 : Passing record’s territory id 
2. InputVar2 : Calling the policy asynchronously. 

  • Lead Embargo

Required Fields

  1. PolicyType: Set the Type of string with value “EmbargoesCompliance
  2. ’RecordID : Use field reference in the type to select Lead ID

  • Contact Embargo

Required fields

  1. PolicyType: Set the Type of string with value “EmbargoesCompliance
  2. ’RecordID : Use field reference in the type to select Contact ID

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