Skip to end of metadata
Go to start of metadata

You are viewing an old version of this page. View the current version.

Compare with Current View Page History

« Previous Version 3 Current »

Config

image-20240819-173822.png

Config Field

Description

Source API Type

It specifies the type of API being used as the source to query records.

Source API Type is of 2 types namely: Model and URL.

Note:

  • By default, Model is chosen as Source API Type.

  • For now, we use API Models created in layout as Source API Type.

Model

It defines the API model associated with the Source API Type chosen.

Note: This option is only visible, if one chooses Source API Type as Model.

Authorization Type

It specifies the type of authorization required for the API.

Note: This option is only visible, if one chooses Source API Type as URL.

Relative URL

It indicates the relative URL path for the API endpoint.

Note: This option is only visible, if one chooses Source API Type as URL.

Method

It defines the HTTP method (e.g., GET, POST) used for the API request.

Note: This option is only visible, if one chooses Source API Type as URL.

Is Request Array

If checked, it indicates whether the request is an array of objects.

Note: This option is only visible, if one chooses Source API Type as URL.

Query Params

It lists the query parameters included in the API request.

Reference: Query Params

Note: This option is only visible, if one chooses Source API Type as URL.

Request Body

It contains the data sent in the body of the API request.

Reference: Request Body

Note: This option is only visible, if one chooses Source API Type as URL.

Responses

It defines the expected responses from the API.

Reference: Responses

Note: This option is only visible, if one chooses Source API Type as URL.

Query Params

image-20240819-181104.png

Params Field

Description

Label

A user-friendly name for the query params, used for easy identification within the application.

Name

The unique identifier for the query params, typically used in code or within merge text.

Field Type

It defines the type of input (e.g., text, number) for the parameter.

Required

If checked, the parameter becomes mandatory.

Is Array ?

It specifies if the parameter can accept multiple values.

Default Value

It sets the default value for the parameter, if none is provided.

Request Body

image-20240819-181159.png

Params Field

Description

Label

A user-friendly name for the request body, used for easy identification within the application.

Name

The unique identifier for the request body, typically used in code or within merge text.

Field Type

It defines the type of input (e.g., text, number) for the parameter.

Required

If checked, the request body becomes mandatory.

Is Array ?

It specifies if the request body can accept multiple values.

Default Value

It sets the default value for the request body, if none is provided.

Responses

image-20240819-181401.png

Response Field

Description

Code

It indicates the status code returned by the API.

Is Response Array ?

It specifies whether the response consists of an array of objects.

Response Body

It contains the data returned in the response. Response body modal is same as request body modal, you can explore here, just rephrase request as response in the modal.

Reference: Request Body

Action Details

image-20240819-181823.png

Attribute Name

Description

Label

A user-friendly name for the action, used for easy identification within the application.

Name

The unique identifier for the action, typically used in code or within merge text.

Is Async?

Decides whether the action will be performed in async context or within sync context.

Description

A user-friendly description for the action, used for easy apprehend within the application.

Is Async : Brief Explaination

image-20240911-043804.png

Is Async checkbox provides flexibility in managing how actions within workflows are executed in relation to system transactions. Here's how it works:

  • Single Transaction Execution: When multiple actions within a workflow have Is Async set to false, they are executed within a single transaction. This ensures that all actions complete successfully, or if one fails, the entire transaction is rolled back, maintaining data integrity.

  • Breaking Transactions: When an action within the workflow has Is Async set to true, a new transaction is initiated at that point. This allows for separation between the actions, enabling different parts of the workflow to be processed independently.

  • Handling Large Data: The Is Async feature is especially useful when working with large amounts of data that may risk hitting system governor limits. By setting certain actions as asynchronous, you can ensure that the workflow avoids limits by breaking the execution into multiple transactions.

This feature empowers users to control how workflows behave during execution, optimizing performance and avoiding potential issues with system resources.

  • No labels

0 Comments

You are not logged in. Any changes you make will be marked as anonymous. You may want to Log In if you already have an account.