# Modify nodes

To continue the update, you next modify the Update Next State to Authorize Payment (Assignment) and Get Checkout Session After Summary (Get Records) nodes in the synchronous checkout flow.

## Modify the Update Next State to Authorize Payment (Assignment) node&#x20;

Use the following steps to modify this node for a synchronous checkout flow:

1. Open the Assignment node Update Next State to Authorize Payment.
2. Click **Add Assignment**.
3. Enter the following details under the new assignment sections as below:&#x20;
   * **Variable** – `{!skipCurrentPage}`
   * **Operator** – Equals
   * **Value** – `{!$GlobalConstant.False}`&#x20;
4. Click **Done** when you have finished.

<figure><img src="https://2681600133-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FFDmrn2Xgg8KN7ITpu9Nw%2Fuploads%2FXhuSLNCrjUKi48oKWRrs%2FStep%2018%20modify%20two%20nodes.png?alt=media&#x26;token=fd020f94-8ac2-4748-95ce-dd5e4ab24c12" alt=""><figcaption></figcaption></figure>

## Modify the Get Checkout Session After Summary (Get Records) node

Use the following steps to modify this node for a synchronous checkout flow:

1. Open the Get Checkout Session After Summary (Get Records) node.
2. In the Select Cart Checkout Session Fields to Store in Variable section of the screen, click **Add Field**.
3. &#x20;Enter`OrderId` as the Field name.
4. Click Done

## &#x20;


---

# Agent Instructions: Querying This Documentation

If you need additional information that is not directly available in this page, you can query the documentation dynamically by asking a question.

Perform an HTTP GET request on the current page URL with the `ask` query parameter:

```
GET https://docs.digitalriver.com/salesforce-lightning/salesforce-lightning-b2b-commerce-app-1.3/integrate-the-salesforce-lightning-app/step-18-alternative-integrate-the-digital-river-components-into-a-synchronous-checkout-flow/update-the-flow-nodes-in-the-synchronous-checkout-flow/modify-nodes.md?ask=<question>
```

The question should be specific, self-contained, and written in natural language.
The response will contain a direct answer to the question and relevant excerpts and sources from the documentation.

Use this mechanism when the answer is not explicitly present in the current page, you need clarification or additional context, or you want to retrieve related documentation sections.
