---
sourceDocument: Brazil Asset Management
sourceDocumentLink: https://www.servicenow.com/docs/r/it-asset-management

 Release :

    - brazil

ft:locale :

    - en-US

ft:publication_title :

    - Brazil Asset Management

ft:clusterId :

    - itam

bundleId :

    - itam

workflow :

    - Technology


---

# Use Scratchpad feature

# Use the Scratchpad
to complete your request fulfillment tasks {#ariaid-title1}

Release version: Brazil  
Updated September 10, 2026  
![](https://www.servicenow.com/docs/portal-asset/ico-clock) 2 minutes to read
Summarize  
![AI sparkle icon](https://servicenow.com/docs/portal-asset/ai-sparkle-icon) Summarized using AI  
This content was generated using new OpenAI-powered functionality. Results are provided on an as is basis and are not guaranteed to be accurate or complete.  

## Summary of Use the Scratchpad to complete your request fulfillment tasks

The Scratchpad feature in the Service Exchange application enables providers to send updates to their consumer's ServiceNow instance during request fulfillment tasks.
This is essential for the Zero Touch request flow, where Scratchpad updates trigger the progression of the request status on the consumer side after confirmation and shipment tasks are completed.
Show full answer Show less  

## Key Features

* **Scratchpad Updates:** Providers send JSON-formatted updates using the `PSBScratchpadUtil` API to communicate task statuses such as confirmation and shipment.
* **Request Confirmation:** When confirming a provider task, a Scratchpad update with `orderStatus: "confirmed"` is sent to the consumer's instance to indicate the task completion.
* **Shipment Updates:** Upon shipping assets, providers send detailed Scratchpad updates including order status (either `partiallyshipped` or `fullyshipped`), tracking number, carrier, model number, asset tag, and serial number for each shipped item.
* **Partial and Full Shipments:** The order status reflects whether assets are shipped in multiple shipments (partially) or all at once (fully), allowing accurate tracking of fulfillment progress.
* **Consumable Assets:** Shipment updates for consumable assets exclude asset tag and serial number details.
* **Single Update per Asset:** For multiple shipments, each asset's shipment information must be sent only once to avoid duplication.

## Practical Application for ServiceNow Customers

ServiceNow customers acting as providers must implement Scratchpad updates in the prescribed JSON format using the `PSBScratchpadUtil` API within their fulfillment tasks. This ensures that consumers receive real-time, accurate status updates enabling seamless Zero Touch flow progression. Correctly formatting and sending these updates helps maintain synchronization between provider and consumer instances, improving transparency and efficiency in request fulfillment.  
As a provider, use the Scratchpad feature of the Service Exchange application to send updates to the ServiceNow instance of your consumer while performing the request fulfillment tasks.

The Zero Touch request flow requires you to send Scratchpad updates to your consumer's ServiceNow instance when you complete the confirmation and shipment tasks successfully. Based on the updates that you send, the Zero Touch flow progresses on your consumer's ServiceNow instance.

You must include the code specific to your tasks in the PSBScratchpadUtil API. For more information, see [Using the Scratchpad for Service Exchange tasks](https://www.servicenow.com/docs/access?context=service-bridge-v2-scratchpad&version=brazil&pubname=brazil-service-exchange&ft:locale=en-US). Confirm that the Scratchpad codes associated with the tasks of your request fulfillment flow are in the following format.

## Sample code for request confirmation {#using-scratchpad-for-provider-updates__section_drq_jvh_kbc}

    var scratchPadJSON = {
      "orderStatus": "confirmed"
    };
    var value = JSON.stringify(scratchPadJSON); 
    var rtGR = new GlideRecord("sn_sb_pro_provider_task"); 
    rtGR.get(<ProviderTaskID>); 
    if (rtGR.isValidRecord()) { 
      var util = new sn_sb_pro.PSBScratchpadUtil(); 
      util.update(rtGR, "confirmation", value); 
    }

When you confirm a provider task, a Scratchpad update with the order status as Confirmed is sent to your consumer's ServiceNow instance.

## Sample code for shipment {#using-scratchpad-for-provider-updates__section_r3z_svh_kbc}

    var scratchPadJSON = {
    "orderStatus": "partially_shipped / fully_shipped"
    "orderLineItems" : 
      [{ 
        "status": "shipped",
        "trackingNumber": "123",
        "carrier": "C1",
        "modelNumber": 'MD322LL/A',
        "assetTag": 'P1000177',
        "serialNumber": 'P1000177'
      },{ 
        "status": "shipped",
        "trackingNumber": "123",
        "carrier": "C1",
        "modelNumber": 'MD322LL/A',
        "assetTag": 'P1000178',
        "serialNumber": 'P1000178'
      }
    ]
    };

When you ship the requested items and confirm the shipment, a Scratchpad update with the following details are sent to your consumer's ServiceNow instance:

* Order status: Depending on how the provider has shipped the assets in a request, the Order status can have the following values:
  * partially_shipped: Assets in the request are shipped through multiple shipments.
  * fully_shipped: All the assets in the request are shipped.

  {#using-scratchpad-for-provider-updates__ul_btb_3l2_qbc} For example, consider that a requester has requested for five assets. If you ship only three assets though a shipment, you should pass the Order status as partially_shipped. When you ship the remaining two assets, you should pass the Order status as fully_shipped.
* Tracking number: Every shipment has a unique tracking number.
* Carrier: The name of the carrier through which the provider shipped the assets.
* Model number: Unique model number of the asset that is shipped.
* Asset tag: Unique asset tag of the asset that is shipped.
* Serial number: Serial number of the asset.
{#using-scratchpad-for-provider-updates__ul_i2x_yvh_kbc}  
Note:  
The shipment update for consumable assets doesn't include Asset tag and Serial number details. If there are multiple shipments, the information of the asset in a shipment must be sent to your consumer's ServiceNow instance only once.

