--- title: "Scenario: Insert transaction" slug: "iaa-fig-scenario-insert-transaction" updated: 2025-07-09T12:21:54Z published: 2025-07-09T12:21:54Z canonical: "docs.onespan.com/iaa-fig-scenario-insert-transaction" --- > ## Documentation Index > Fetch the complete documentation index at: https://docs.onespan.com/llms.txt > Use this file to discover all available pages before exploring further. # Scenario: Insert transaction This scenario uses the workflow tree illustrated in [Insert transaction workflow tree](/sec/docs/iaa-fig-scenario-insert-transaction#tree). ![](https://cdn.document360.io/038f59a7-abd0-4c14-9de7-3434d28b49fd/Images/Documentation/fr.insert_transaction.png?sv=2026-02-06&spr=https&st=2026-11-16T17%3A43%3A28Z&se=2026-11-16T18%3A43%3A28Z&sr=b&sp=r&sig=Je4mDCCBjcKd9gYSlk44s0WoO%2F27PY3IxAS1MbNPuPw%3D) Insert transaction workflow tree ## Before you begin Ensure that you have completed the steps described in [Getting started with OneSpan Authentication for ForgeRock](/sec/docs/iaa-fig-getting-started-with-onespan-authentication-for-forgerock). ## Walkthrough: Insert transaction Walkthrough: Insert transaction 1. Use the following URL to start the process: https://your_instance_url/openam/XUI/?realm=/&service=OneSpan-XUI-Cloud-Authentication-User-Login-Challenge-Response-Sample-Tree#login The ForgeRock login dialog is displayed. 2. Enter your the transaction details. This workflow uses the [OneSpan Sample Attributes Collector](/docs/overview-of-onespan-authentication-trees-and-nodes#OneSpanSampleAttributesCollectorNode) node to obtain the required transaction details. ![](https://cdn.document360.io/038f59a7-abd0-4c14-9de7-3434d28b49fd/Images/Documentation/fr.login_insert_transaction.png?sv=2026-02-06&spr=https&st=2026-11-16T17%3A43%3A28Z&se=2026-11-16T18%3A43%3A28Z&sr=b&sp=r&sig=iGye8aaKZHGaW%2Bvb8ez0AIgGGjxTpSlivvwYfn72sYY%3D) ForgeRock login dialog 3. If no step-up authentication is configured in Risk Analytics Presentation Service, the outcome will be Accept or Decline, depending on the risk score. However, because of the rules you defined [in the course of the product setup](/sec/docs/iaa-fig-getting-started-with-onespan-authentication-for-forgerock#set-up-a-mobile-application) for transaction amounts less than 100, step-up authentication (ChallengePin) is required. According to the [Interactive API Reference](https://community.onespan.com/products/intelligent-adaptive-authentication/sandbox#/Transactions/transactionValidationUsingPOST) > TransactionOutput schema > riskResponseCode attribute, if the challenge type is ChallengePin, the API returns a risk response code of 22. 4. The OneSpan Risk Analytics Send Transaction node stores the risk response code in the shared state as riskResponseCode, which can later be retrieved with the Scripted Decision node, and which determines the required authentication steps. ## Additional considerations The workflow tree uses the following sample node: - [OneSpan Sample Attributes Collector](/docs/overview-of-onespan-authentication-trees-and-nodes#OneSpanSampleAttributesCollectorNode) The OneSpan Sample nodes are provided and included in the OneSpan Authentication for ForgeRock package for demonstration purposes only. You should not use these nodes in production environments, but replace them with your own node implementations.