---
sourceDocument: Australia Strategic Portfolio Management
sourceDocumentLink: https://servicenow-prod.fluidtopics.net/r/pt-BR/it-business-management

 Release :

    - australia

ft:locale :

    - pt-BR

ft:publication_title :

    - Australia Strategic Portfolio Management

ft:clusterId :

    - itbm

bundleId :

    - itbm

workflow :

    - Technology


---

# Migrate goal relationships for assigned entities

# Migrate goal relationships for assigned entities {#ariaid-title1}

* Versão de lançamento: Australia
* 
* Atualizado 12 de mar. de 2026
* 
* ![](https://www.servicenow.com/docs/portal-asset/ico-clock) 1 min. de leitura

Migrate the existing goal relationship data from the Goal Relationship
\[sn_gf_goal_m2m_relationship\] table by running the scheduled job.

## Antes de Iniciar

Role required: admin

## Por Que e Quando Desempenhar Esta Tarefa

* If you've upgraded from Alignment Planner Workspace v4.1.1 or v5.0.1 to Strategic Planning v2.0.1 and have created m2m relationship with lens entities other than Company, Business Unit, Department, and Portfolio, you can migrate those lens entities from the Goal Relationship \[sn_gf_goal_m2m_relationship\] table to the Goals table to access and manage the goals for those lens entities in the respective portfolio plans.
* Migrating goal relationships data for assigned entities is a one-time job, and not meant to be on a schedule.
* Running the job populates the Assigned entity type and Assigned entity fields on the [Goal form](https://servicenow-prod.fluidtopics.net/wsruBGiVoIb9jsZVtrISbg "Use the Goal form to create goals for your organizational strategic priorities.") based on the data in the Goal Relationship \[sn_gf_goal_m2m_relationship\] table if you have any customized lenses other than the lens entity types, Company, Business Unit, Department, and Portfolio.
{#migrate-goal-relationships-for-assigned-entities-egm__ul_kcz_fqv_dwb}

## Procedimento

1. Navigate to AllSystem DefinitionScheduled Jobs.
2. Search for and click the Migrate goal relationships for assigned entities scheduled job.
3. On the Scheduled Script Execution form:
   1. Ensure that the frequency is selected as On Demand in the Run field.
   2. In the Run this script field, list the entities configured in the Goal Assigned Entity Configuration \[sn_gf_assigned_entity_config\] table that you want to migrate the goal relationship data for.  
      For parameters information, see [Scheduled Script Execution form](https://servicenow-prod.fluidtopics.net/LruTBcoxxgOXC6XhrFzOIA "Scheduled Jobs are automated pieces of work that can be performed at a specific time or on a recurring schedule.").
   {#migrate-goal-relationships-for-assigned-entities-egm__substeps_owk_mtz_1tb}
4. Click Execute Now.
{#migrate-goal-relationships-for-assigned-entities-egm__steps_emg_dc4_fwb}

