---
sourceDocument: Yokohama IT Operations Management
sourceDocumentLink: https://servicenow-prod.fluidtopics.net/r/yokohama/it-operations-management

 Release :

    - yokohama

ft:locale :

    - en-US

ft:publication_title :

    - Yokohama IT Operations Management

ft:clusterId :

    - itom

bundleId :

    - itom

workflow :

    - Technology


---

# Create a policy with the Integration Hub subflow

# Create a policy with the Integration Hub subflow {#ariaid-title1}

* Release version: Yokohama
* 
* Updated January 30, 2025
* 
* ![](https://www.servicenow.com/docs/portal-asset/ico-clock) 1 minute to read

Use the Integration Hub subflow to create a Cloud Configuration Governance policy. An Integration Hub subflow uses
graphical coding mechanisms to specify the policy conditions. It offers greater flexibility
in audit violation reporting than the condition builder. That is, you can use the same
policy to report different types of issues.

## Before you begin

Role required: sn_itom_ccg.governor

## About this task

Refer to the base system Sample flow policy as an example for
creating new policies with the Integration Hub subflow.

## Procedure

1. Create an Integration Hub subflow for the policy.
   1. Copy the CCG -- Flow Policy Template subflow.  
      For more information on copying the subflow, see [Copy an Integration Hub subflow
      template](https://servicenow-prod.fluidtopics.net/85PIRJuMmUYu4I26UEh0KQ "Copy an Integration Hub subflow template to create subflows for the Cloud Configuration Governance application.").
   2. To read the configuration data, add the CCG -- Read Config Setting action.  
      For more information on the CCG -- Read Config Setting action, see [Cloud Configuration Governance actions reference](https://servicenow-prod.fluidtopics.net/NYeVpjG0skdfsLCdgZi1WQ "Cloud Configuration Governance (CCG) uses Integration Hub subflows to interact with the cloud and update the configuration data in the Configuration Management Database (CMDB)."). {#ccg-create-policy-ih-subflow__ccg-read-config-settings}
   {#ccg-create-policy-ih-subflow__ccg-read-config-settings}
   3. Repeat step [1.b](https://servicenow-prod.fluidtopics.net/C~ZyxHF0iqbml24K1FC9lA#ccg-create-policy-ih-subflow__ccg-read-config-settings) for all the configuration keys that you want to use in the policy.
   4. Add the flow logic.
   5. Assign subflow outputs.  
      The subflow output settings define how Cloud Configuration Governance reports the audit violations. For more information on assigning the subflow output, see [Cloud Configuration Governance actions reference](https://servicenow-prod.fluidtopics.net/NYeVpjG0skdfsLCdgZi1WQ "Cloud Configuration Governance (CCG) uses Integration Hub subflows to interact with the cloud and update the configuration data in the Configuration Management Database (CMDB).").
   6. **Optional:** If you have not selected the Report Issue option in the Assign Subflow outputs form, add an action under the Assign Subflow outputs action, and then add the Create Record action.  
      For more information on the Create Record action, see [Cloud Configuration Governance actions reference](https://servicenow-prod.fluidtopics.net/NYeVpjG0skdfsLCdgZi1WQ "Cloud Configuration Governance (CCG) uses Integration Hub subflows to interact with the cloud and update the configuration data in the Configuration Management Database (CMDB).").
   7. Save the subflow.
   {#ccg-create-policy-ih-subflow__substeps_ckq_s4w_gsb} {#ccg-create-policy-ih-subflow__create-ih-flow-policy}
{#ccg-create-policy-ih-subflow__create-ih-flow-policy}
2. Navigate to Cloud Configuration GovernancePolicies.
3. Select New.
4. On the Policy form, fill in the fields.  
   For a description of the form fields, see [Cloud Configuration Governance Policy form](https://servicenow-prod.fluidtopics.net/y9qvc781pDn3syNA9IacDw "The Cloud Configuration Governance Policy form displays detailed information about the policy such as cloud provider, resource type, policy type, and policy violation reporting settings.").
5. Select Submit.

## What to do next

Test the policy to make sure that it is working properly. For more information, see
[Test the policy](https://servicenow-prod.fluidtopics.net/xwfHEJdWbcHsBpTT5R2Ejw "Test the Cloud Configuration Governance policy against the configuration data imported for a previous scan run. Test the policy to make sure that it is working properly.").

*[\>]: and then


