---
isPublished: true
knowledgeIndex: false
hidden: true
noindex: true
template: "page.peb"
title: "AI Update Search Action Flow Reference"
description: "Inputs, outputs, transaction effects and troubleshooting for AI Update Search Action in Salesforce Flow."
contentType: "reference"
audience: "admin,developer"
---

# AI Update Search Action

Identify the compatibility fields of AI Update Search Action.
The namespaced Apex action name is `rooms__AIUpdateSearchAction`.

**Reference status: Limited.** The exposed inputs do not define a complete destination search-index request.

## Transaction summary

| Effect | Behavior |
| --- | --- |
| API callout | Yes. The action waits for an API response. |
| Record writes | Attempts a search-index update. It does not directly write Salesforce records or confirm a completed index change. |
| Background work | No queued work is started. |
| Platform event | The action does not directly publish a platform event. |
| Email | The action does not send email. |

The action exposes a record and object type but no destination AI VectorSpace. Do not use it as the complete indexing step in a new Flow. For reviewed batch indexing, use [Batch AI Vectorize Records Action](/content/build/flows/BatchAIVectorService.md).

## Inputs

Required describes the Flow input setting. Additional conditions are stated in the guidance.

| API name | Flow label | Required | Default or guidance |
| --- | --- | --- | --- |
| `record` | SObject | No | The Salesforce record data to submit. |
| `objectType` | Object Type | No | The full SObject API name for the record. |

## Outputs

| API name | Flow label | Meaning |
| --- | --- | --- |
| `success` | Success | Whether the action reported success. Check this value before continuing. |
| `message` | Message | Result details or an error. Read this value with Success. |

## Configure the Flow

1. Identify the existing Flow and the installed action fields.
2. Review the complete destination and scope required for an indexing workflow.
3. Use Batch AI Vectorize Records Action for a batch workflow with an explicit AI VectorSpace.
4. For an existing Flow, retain Success and Message and verify actual search results.

Confirm the Flow user's action access and the required access to the referenced records.
Review the configured Salesforce API connection user's access when the action makes a callout.
Connect the action's Fault path.

## Troubleshooting

**You have uncommitted work pending.** Check earlier record writes, queued work and other actions in the same transaction.
Review the [transaction settings and debugger limits](/content/build/flows/index.md#resolve-uncommitted-work-pending).

**The search update fails.** This action does not expose a destination AI VectorSpace. Record and Object Type alone do not define a complete indexing workflow.

**The updated record is not yet found.** A successful request does not prove that a later search has returned the new data. Verify the result before resubmitting.

Confirm that the action and its fields exist in the installed package.
See the [Flow action index](/content/build/flows/index.md) for related actions and transaction guidance.
