---
sourceDocument: Brazil Public Sector
sourceDocumentLink: https://www.servicenow.com/docs/r/government-industry

 Release :

    - brazil

ft:locale :

    - en-US

ft:publication_title :

    - Brazil Public Sector

ft:clusterId :

    - gvin

bundleId :

    - gvin

workflow :

    - Customer and Industry


---

# Create a case API Variable

# Create a case API Variable for a PaCE policy in Grants Management ​ {#ariaid-title1}

Release version: Brazil  
Updated December 2, 2025  
![](https://www.servicenow.com/docs/portal-asset/ico-clock) 1 minute to read  
Create a case API variable to transfer the information collected from the case to the PaCE eligibility rules engine. This will be used when creating a policy and referencing fields on the case.

## About this task

An API Variable is a variable that enables you to pass the value to the policy whenever the policy is invoked. Specify a value for this API Variable when calling the API, otherwise the policy is not executed and no decision
is reached.

## Before you begin

Role required: admin

## Procedure

1. Navigate to AllWorkspacesPublic Sector Workspace.
2. From the Public Sector Workspace sidebar, navigate to the Policy Home.
3. Select the API Variables list.
4. Select Add to create an API variable.
5. On the form, fill in the fields with the following information.  
   {#psds-config-gmp-api-variable__table_z54_zgd_53c__entry__2}

   | Field | Value |
   |-|-|
   | Label | Case Reference |
   | Name | case_reference |
   | Type | Reference |
   | Description | Case Reference |
   | Table | Grants Table |
   | Match Criteria | Select first match |
   [Table 1. UI parameter element mapping form]

   {#psds-config-gmp-api-variable__table_z54_zgd_53c}
6. Select Save.
{#psds-config-gmp-api-variable__steps_y54_zgd_53c}

## Result

An API variable is created, and will pass the value to the policy whenever the policy is invoked, after which the policy is executed and a decision is reached.

## What to do next

Create a data collector for a PaCE policy.
**Related tasks**   

* [Create a case data collector for a PaCE policy in Grants Management](https://www.servicenow.com/docs/QqcNMK98UY9Kg~qaegbiUQ "Create a data collector within PaCE to use a set of data within a policy.")

*[\>]: and then


