--- title: Copy a flow or subflow in SAP description: You can create a copy of the flow or subflow and make the necessary modifications. Use the following steps to activate a flow or subflow. locale: en-US canonical_url: https://www.servicenow.com/docs/r/australia/source-to-pay-operations/source-to-pay-integration-framework/copy-flow-or-subflow-sap.html release: australia product: Source-to-Pay Integration Framework classification: source-to-pay-integration-framework topic_type: task last_updated: "2026-10-09" reading_time_minutes: 1 breadcrumb: [Use schedule flows, Use, Source-to-Pay integration with SAP, Integration with third-party applications, Integrations, Source-to-Pay Operations, Finance and Supply Chain] --- # Copy a flow or subflow in SAP You can create a copy of the flow or subflow and make the necessary modifications. Use the following steps to activate a flow or subflow. ## Before you begin Role required: - sn\_fcms\_intg.admin - Write role - sn\_fcms\_intg.admin - Read role - sn\_shop.procurement\_specialist, sn\_shop.shopper - Users ## About this task ## Procedure 1. Navigate to **All** > **Process Automation** > **Workflow Studio**. 2. From the Workflow Studio home page, select **Flows**. 3. Open the flow that you want to copy. 4. Select **More actions**, and select **Copy flow**. **Important:** Perform this step only if you plan to customize or make specific changes to the flow. \[Omitted image "sap-integration-copy-flow.png"\] Alt text: Copy of a Create non-purchase order flow 5. Activate the flow or subflow. - Make sure that the flow or subflow is available and activated on the base system. - Activate the copied flow after making the required changes. 6. Use the **Trigger Condition** for the flow or subflow. This flow or subflow is triggered and associated with the purchase order when the following conditions are met: - **Legal entity . ERP source . Active** is **true**. - **Legal entity . ERP source . ERP Source** is **not empty**. - **Status** is **Pending Submission** **Note:** Don’t modify the trigger condition. \[Omitted image "sap-integration-flow-trigger.png"\] Alt text: Trigger conditions for Creating a non-purchase order invoice flow **Note:** Once data is pulled into staging tables, transform maps move data into target tables. For more details, refer to [Source-to-Pay integration framework transform maps and subflows](https://raw.githubusercontent.com/ServiceNow/ServiceNowDocs/australia/markdown/australia/source-to-pay-operations/source-to-pay-integration-framework/s2p-transform-maps-flows.md). You have successfully copied and executed the flow. **Parent Topic:**[Use schedule flows in SAP](https://raw.githubusercontent.com/ServiceNow/ServiceNowDocs/australia/markdown/australia/source-to-pay-operations/source-to-pay-integration-framework/using-schedule-flows-sap.md) **Related topics** [Use a flow or subflow in SAP \(Outbound\)]()