---
sourceDocument: Xanadu Strategic Portfolio Management
sourceDocumentLink: https://www.servicenow.com/docs/r/xanadu/it-business-management

 Release :

    - xanadu

ft:locale :

    - en-US

ft:publication_title :

    - Xanadu Strategic Portfolio Management

ft:clusterId :

    - itbm

bundleId :

    - itbm

workflow :

    - Technology


---

# Configuring target source for target automation

# Configuring target source for target automation using Goal Framework for SPM {#ariaid-title1}

* Release version: Xanadu
* 
* Updated August 1, 2024
* 
* ![](https://www.servicenow.com/docs/portal-asset/ico-clock) 1 minute to read

Configure target sources for target automation so that the goal user can define a target source when setting a target for the goal. Defining a target source for a target updates the actual value of the target
automatically.  
Use the following steps as guidelines for setting targets and automating the actual value of the targets using Goal Framework for SPM. Some of these steps require the sn_gf.goal_user role and some require the sn_gf.goal_admin role.

1. Create a target source for a target to configure it as a source to update the actual value of the target. For more information, see [Create a target source](https://www.servicenow.com/docs/SxmuGFo5L7EqQBYRy_0t8g "Create a target source so that the goal user can configure it for the targets to automate the Actual value of the targets.").

   The context variable is required for target source types Assessment/Survey and PA Indicator. The mandatory context variables are automatically created
   while creating a target source with the type selected as Assessment/Surveys or PA Indicator. For more information on when the mandatory context variables are created, see [Context variable in target source](https://www.servicenow.com/docs/U1etXz5RFvf_RXQ~PUDHCg "The context variable is an additional configuration for the target source that can be used on the Target form to fetch the required data and auto-update the Actual value field on the Target form. A context variable is required for target source types Assessment/Survey and PA Indicator.").
2. If required, create context variables for the target source so that the required data is fetched from the context variables to update the actual value of the target. For more information, see [Create context variables for a target source](https://www.servicenow.com/docs/~SRxGsqu2fIPaV2pW5dDPg "Create a context variable manually if you want to configure more context variables for a target source.").
{#setting-targets-for-a-goal-and-automating-the-actual-value-using-agf__ol_ivy_f1l_gvb}
* **[Context variable in target source](https://www.servicenow.com/docs/U1etXz5RFvf_RXQ~PUDHCg)**   
  The context variable is an additional configuration for the target source that can be used on the Target form to fetch the required data and auto-update the Actual value field on the Target form. A context variable is required for target source types Assessment/Survey and PA Indicator.
* **[Create a target source for automating the Actual value of the targets](https://www.servicenow.com/docs/SxmuGFo5L7EqQBYRy_0t8g)**   
  Create a target source so that the goal user can configure it for the targets to automate the Actual value of the targets.
* **[Create context variable for a target source](https://www.servicenow.com/docs/~SRxGsqu2fIPaV2pW5dDPg)**   
  Create a context variable manually if you want to configure more context variables for a target source.
* **[Create a context variable for the target source type PA Indicator](https://www.servicenow.com/docs/Msvi8lvmzLHI9dB_sRiPew)**   
  Create a context variable manually for the target source type PA Indicator if the breakdown is of Choice list type.

