{"revision":"c10276e953456835cdbb1f3a60d58ae1980be353","document":{"id":49631,"path":"source-to-pay-operations/accounts-payable-operations/copy-di-stp-failed-flow.md","title":"Configure the DI STP Failed flow","bundle":null,"doc_type":null,"release":"australia","body":"\n# Configure the DI STP Failed flow\n\nCopy and configure the DI STP Failed flow and activate this flow to use it.\n\n\\[Omitted video\\] Description: Copy and configure the DI STP failed flow\n\n## Before you begin\n\nRole required: admin\n\nScope: sn\\_ap\\_ic scope.\n\n## Procedure\n\n1.  Navigate to **All** &gt; **Process Automation** &gt; **Flow Designer**.\n\n2.  Search for and open the **DI STP Failed** flow.\n\n3.  Select the more actions icon \\(\\[Omitted image \"more-actions-icon.png\"\\] Alt text: more actions icon\\) in the top right and select **Copy flow**.\n\n    The Create a copy of this flow dialog box is displayed.\n\n4.  In the **New flow name** field, enter a name for the copied flow.\n\n5.  In the **Application** field, select **Accounts Payable Operations integration with Document Intelligence**.\n\n6.  Select **Copy**.\n\n    A copy of the flow opens. Under **TRIGGER**, in the **Condition** field, copy \"DI STP Failed\" flow and update trigger condition to reference the use case created by the customer. Use the AND operator and select **Use case** is **copied Gen AI use case** and **Done**. Use the AND operator and, select **Use case** is **copied Gen AI use case** and **Done**. \\[Omitted image \"di-stp-failed-genai.png\"\\] Alt text: DI STP Failed trigger condition. For more information on copying use case, refer [Create a copy of the default Invoice Processing use case](https://raw.githubusercontent.com/ServiceNow/ServiceNowDocs/australia/markdown/australia/source-to-pay-operations/accounts-payable-operations/create-use-case-copy.md) and [Copy and activate the generative AI DocIntel flow](https://raw.githubusercontent.com/ServiceNow/ServiceNowDocs/australia/markdown/australia/source-to-pay-operations/accounts-payable-operations/configure-gen-ai-di-flow.md).\n\n7.  Select **Save**.\n\n8.  Select **Activate**.\n\n\n"}}