Zoho: Update a Blueprint transition
Zoho blueprintTransitions.updateBlueprintTransitionById: arguments, response, policy and SDK examples.
← Blueprint transitions operations · Get started
Operation zoho.updateblueprinttransitionbyid
Provider route: PUT /crm/v8/settings/blueprints/transitions/{transitionId}. Alter supplies the connection’s credentials and routing.
Call through Alter
Section titled “Call through Alter”Install @alter-ai/sdk @alter-ai/zoho with npm, or alter-sdk-zoho with pip. Supply your connected customer’s grant ID and the arguments described below.
import { App } from "@alter-ai/sdk";import { ZohoIntegration } from "@alter-ai/zoho";
async function execute(input: Parameters<ZohoIntegration["blueprintTransitions"]["updateBlueprintTransitionById"]>[0]) { const app = new App({ apiKey: process.env.ALTER_API_KEY! }); try { const provider = new ZohoIntegration(app, { grantId: process.env.PROVIDER_GRANT_ID! }); const call = await provider.blueprintTransitions.updateBlueprintTransitionById(input); const result = await call.wait(); return result.bodyJson(); } finally { await app.close(); }}import osfrom alter_sdk import Appfrom alter_sdk_zoho import ZohoIntegration
async def execute(arguments): async with App(api_key=os.environ["ALTER_API_KEY"]) as app: provider = ZohoIntegration(app, {"grant_id": os.environ["PROVIDER_GRANT_ID"]}) call = await provider.blueprint_transitions.update_blueprint_transition_by_id(arguments) result = await call.wait() return result.body_json()| Field | Type | Presence | Description and constraints |
|---|---|---|---|
$ | object | Root | Additional keys: not allowed |
path | object | Required within parent | Additional keys: not allowed |
path.transitionId | string | Required within parent | Format: int64 Maximum length: 19 Minimum length: 1 Pattern: ^[0-9]+ |
headers | object | Required within parent | Additional keys: not allowed |
headers.X-ZOHO-SERVICE | string | Required within parent | One of: automation |
body | Model | Optional | Expand Update a Blueprint transition — request body — body |
Referenced models: Update a Blueprint transition — request body — body
Response
Section titled “Response”Response media type: application/json. The table describes the pinned successful response. Referenced models link to their complete fields.
| Field | Type | Presence | Description and constraints |
|---|---|---|---|
$ | Model | Root | Expand Update a Blueprint transition — response body |
Referenced models: Update a Blueprint transition — response body
Schemas
Section titled “Schemas”26 more schemas are linked from the tables above, on the schema pages.
Update a Blueprint transition — request body — body
| Field | Type | Presence | Description and constraints |
|---|---|---|---|
$ | object | Root | Represents the alternate request body containing one or more transition definitions to create or update within the blueprint. Additional keys: not allowed |
transitions | array | Required within parent | Contains the list of transitions to update, with each object in the array representing a single transition configuration. Maximum items: 1 |
transitions[] | Model | Each item | Expand Update a Blueprint transition — request body — body transitions item |
Referenced models: Update a Blueprint transition — request body — body transitions item
Update a Blueprint transition — response body
| Field | Type | Presence | Description and constraints |
|---|---|---|---|
$ | object | Root | Represents the response returned when transitions are successfully created or updated, wrapping the per-transition results. Additional keys: not allowed |
transitions | array | Optional | Contains the list of updated transitions returned in the response, with each object in the array representing a single transition configuration. Maximum items: 1 |
transitions[] | Model | Each item | Expand Update a Blueprint transition — response body — transitions item |
Referenced models: Update a Blueprint transition — response body — transitions item
Update a Blueprint transition — request body — body transitions item
| Field | Type | Presence | Description and constraints |
|---|---|---|---|
$ | object | Root | Represents an alternate definition of a transition to create or update, including the trigger type, during inputs, criteria, owners, actions, and button color. Additional keys: not allowed |
actions | array or null | Optional | Contains the list of after actions of the transition to be created. After actions are executed once the record moves from one state to another and include tasks, field updates, tags, and email notifications. Maximum items: 4 |
actions[] | Model | Each item | Expand Update a Blueprint transition — request body — body transitions item actions item |
color_code | string or null | Optional | Represents the color code of the transition button, for example, #F27E22. Maximum length: 1000 |
criteria | Model | Optional | Expand Update a Blueprint transition — request body — body transitions item criteria This denotes the criteria of the transition to be created. |
description | string or null | Optional | Represents the description of the transition. Maximum length: 1000 |
during_inputs | array or null | Optional | Contains the inputs collected from the user while the transition is executed, such as fields, notes, attachments, tags, checklists, related lists, and kiosk screens. Entries are additive: each PUT call appends new entries to the existing list instead of replacing it. To remove an entry, include the entry with its id and _delete: null. This property requires the layout property in the same request body. Maximum items: 50 |
during_inputs[] | Model | Each item | Expand Update a Blueprint transition — request body — body transitions item during inputs item |
layout | object | Required within parent | Represents the layout associated with the transition's module. This property is required when during_inputs is provided; omitting it while providing during_inputs causes a misleading INVALID_DATA error that references the field details of during_inputs[0]. The object must include at least the id and api_name properties. Additional keys: not allowed |
layout.api_name | string | Required within parent | Represents the API name of the layout associated with the transition's module. Maximum length: 50 Minimum length: 1 Pattern: ^[A-Za-z][A-Za-z0-9_]*$ |
layout.id | string | Required within parent | Represents the ID of the layout associated with the transition's module. Format: int64 Maximum length: 50 Minimum length: 1 Pattern: ^[0-9]{1,19}$ |
layout.name | string | Optional | Represents the display name of the layout associated with the transition's module. Maximum length: 50 |
module | Model | Optional | Expand Update a Blueprint transition — request body — body transitions item module This denotes the module of the transition to be created |
name | string or null | Optional | Represents the name of the transition. Transition names must be unique within a blueprint. Maximum length: 50 |
owners | array or null | Optional | Contains the owners of the transition who are allowed to execute it. Maximum items: 5 |
owners[] | Model | Each item | Expand Update a Blueprint transition — request body — body transitions item owners item |
transition_type | string or null | Optional | Indicates the type of the transition. Possible values: **standalone_transition** - A standard transition linking two states of the blueprint. **parallel_transition** - A transition that runs in parallel with other transitions between the same states. **child_transition** - A transition that belongs to a child blueprint. One of: standalone_transition, parallel_transition, child_transition Maximum length: 100 |
trigger_type | string or null | Optional | Indicates the trigger type of the transition. Possible values: - **automatic** - The transition is executed automatically when its conditions are met, without user action. - **manual** - The transition is executed manually by a user. One of: automatic, manual Maximum length: 100 |
Referenced models: Update a Blueprint transition — request body — body transitions item module, Update a Blueprint transition — request body — body transitions item actions item, Update a Blueprint transition — request body — body transitions item criteria, Update a Blueprint transition — request body — body transitions item during inputs item, Update a Blueprint transition — request body — body transitions item owners item
Update a Blueprint transition — response body — transitions item
| Field | Type | Presence | Description and constraints |
|---|---|---|---|
$ | object | Root | Represents the update result of an individual transition, including the status code, message, and item details. Additional keys: not allowed |
code | string | Optional | Represents the error code returned for the transition update status entry. Maximum length: 255 |
details | Model | Optional | Expand Update a Blueprint transition — response body — transitions item details |
message | string | Optional | Represents the message describing the outcome of the transition update for this status entry. Maximum length: 255 |
status | string | Optional | Indicates the processing status of the transition update for this entry. Maximum length: 255 |
Referenced models: Update a Blueprint transition — response body — transitions item details
Update a Blueprint transition — request body — body transitions item module
| Field | Type | Presence | Description and constraints |
|---|---|---|---|
$ | object | Root | Represents the alternate module identifier targeted by an after action of a blueprint transition, identified by the module ID and API name. Additional keys: not allowed |
api_name | string or null | Optional | Represents the API name of the module for which the transition is created in a blueprint. Maximum length: 100 |
id | string or null | Optional | Represents the ID of the module for which the blueprint transition is created. Format: int64 Maximum length: 50 Minimum length: 1 Pattern: ^[0-9]+$ |
Update a Blueprint transition — request body — body transitions item criteria
| Field | Type | Presence | Description and constraints |
|---|---|---|---|
$ | object | Root | Represents a criteria expression of a blueprint transition, containing the grouped conditions and group operator used to evaluate whether the transition is allowed. Additional keys: not allowed |
comparator | string or null | Optional | Represents the comparator used to evaluate the criteria of the blueprint transition. Maximum length: 20 |
field | Model | Optional | Expand Update a Blueprint transition — request body — body transitions item criteria field field of the criteria |
group | array or null | Optional | Contains the criteria group to which the transition criteria belong. Maximum items: 1 |
group[] | Model | Each item | Expand Update a Blueprint transition — request body — body transitions item criteria group item |
group_operator | string or null | Optional | Represents the group operator applied to the criteria of the blueprint transition. Maximum length: 3 |
value | string or null | Optional | Represents the value of the field to be compared with in the transition criteria. Maximum length: 1000 |
Referenced models: Update a Blueprint transition — request body — body transitions item criteria field, Update a Blueprint transition — request body — body transitions item criteria group item
Update a Blueprint transition — response body — transitions item details
| Field | Type | Presence | Description and constraints |
|---|---|---|---|
$ | object | Root | Contains the response-level details of an updated transition item, including the unique identifier of the updated transition. Additional keys: not allowed |
id | string | Optional | Represents the unique identifier of the updated transition. Maximum length: 255 |
Update a Blueprint transition — request body — body transitions item during inputs item kiosk
| Field | Type | Presence | Description and constraints |
|---|---|---|---|
$ | object | Root | Represents an alternate kiosk identifier used in the during input, including the kiosk name and ID. Additional keys: not allowed |
id | string or null | Optional | Represents the ID of the kiosk associated with the during field. Maximum length: 17 |
name | string or null | Optional | Represents the name of the kiosk associated with the during field. Maximum length: 10 |
Policy, approvals and errors
Section titled “Policy, approvals and errors”SDK function policy ID: zoho.updateblueprinttransitionbyid. Catalog operation: updateBlueprintTransitionById. Rules can name either ID; function rules distinguish managed calls and conservatively cover raw calls sharing the route. Existing grant permissions and policy rules apply. wait() returns an immediate result or waits for a required approval; it never approves the request itself. Persist the approval ID to resume after a restart.
Provider errors retain their response; JSON decoding raises ProviderAPIError for provider failures. ManagedOperationError identifies contract/input/retention errors. See error handling and provider-specific behavior. Sensitive input may be refused before approval storage. A decoding error never resubmits a write.