SK SKYVVA Documentation

Create New Messages Using Asynchronous Processing

Overview

SKYVVA supports two Processing Modes for inbound interfaces: Synchronous and Asynchronous.

The Processing Mode determines whether incoming business data from external systems or applications is processed directly into Salesforce or first stored as New messages in SKYVVA.

After the New messages are created, SKYVVA automatically processes them. The processing can be performed directly into Salesforce or through an enabled Batch, Bulk, or Auto-Switch option.

This feature can be used by supported external systems or applications that send business data through SKYVVA inbound interfaces.

In this guide, SKYVVA Agent with SQL Server is used as a testing example to demonstrate how to configure Asynchronous Processing Mode, create New messages, and verify the processing results.

image

1. Why Use Asynchronous Processing to Create New Messages?

Asynchronous Processing Mode allows users to create New messages in SKYVVA before processing the business data into Salesforce.

This is useful when users want to separate the initial data transfer from Salesforce business record processing.

With Asynchronous Processing Mode:

For example, when SKYVVA Agent reads Contact records from an external database, Asynchronous mode allows SKYVVA to create New messages first. These messages are subsequently processed directly into Salesforce, or through Batch, Bulk, or Auto-Switch processing if the corresponding option is enabled.

2. Difference Between Asynchronous and Synchronous Processing

SKYVVA provides two processing modes with different behaviors.

Synchronous Processing

When Synchronous mode is selected, incoming business data is sent to SKYVVA for direct processing into Salesforce.

Processing Flow:

External System → SKYVVA Inbound Interface → Direct Processing → Salesforce Records

When using SKYVVA Agent, the configured Transfer Package Size determines how many records are sent in each transfer package.

Asynchronous Processing

When Asynchronous mode is selected, incoming business data is sent to SKYVVA to create messages with status New.

After message creation, SKYVVA automatically processes the New messages into Salesforce.

If Batch, Bulk, or Auto-Switch is enabled, the subsequent processing follows the enabled option.

Processing Flow:

External System → SKYVVA Inbound Interface → Create New Messages → Automatic Processing → Salesforce Records

Processing Mode Comparison

FeatureSynchronousAsynchronous
Main purposeProcess data directly into SalesforceCreate New messages first
Initial processingDirect business data processingMessage creation
New-message stage before processingNoYes
Salesforce processingDuring the direct requestAfter message creation
Transfer Package Size (Agent example)AppliedSkipped during initial message creation
Processing Package SizeNot used for initial Agent transferSkipped during initial message creation
Batch/Bulk/Auto-SwitchNot required for direct processingUsed when the corresponding option is enabled

Note: The main difference is whether SKYVVA processes the business records immediately or creates New messages first for subsequent processing.

3. How to Configure Processing Mode

Follow these steps to configure Asynchronous Processing Mode on a SKYVVA Inbound Interface.

  1. Log in to Salesforce and open SKYVVA.
  2. Open the required Integration.
  3. Select the Inbound Interface used to receive data from the external system or application.
  4. Locate the Processing Mode field.
  5. Select Asynchronous.
  6. If required, enable Batch, Bulk, or Auto-Switch processing.
  7. Save the interface configuration.
image

After saving the configuration, incoming data processed through the configured Asynchronous path will create New messages before subsequent Salesforce processing.

To process business data directly into Salesforce during the initial request, select Synchronous.

4. How Asynchronous Message Creation Works

When an external system or application sends data through an Inbound Interface configured with Asynchronous Processing Mode, the following steps occur:

  1. Prepare Source Data: The external system or application prepares the business data to be sent to SKYVVA.
  2. Send Data to SKYVVA: The external system sends the data through the configured SKYVVA Inbound Interface.
  3. Create New Messages: SKYVVA creates inbound messages with status New, without immediately processing the business records into Salesforce.
  4. Start Automatic Processing: SKYVVA automatically starts processing the New messages.
  5. Process Business Records: SKYVVA processes the messages directly into Salesforce or through the enabled Batch, Bulk, or Auto-Switch processing option.
  6. Review Results: Users can verify message statuses and Salesforce records after processing.

Processing Options

Processing optionBehavior
Direct ProcessingSKYVVA processes New messages directly into Salesforce.
Batch ModeWhen enabled, SKYVVA uses Batch processing through the Batch Control Board.
Bulk ModeWhen enabled, SKYVVA uses Bulk processing through the Bulk Control Board.
Auto-Switch ModeWhen enabled, SKYVVA selects the appropriate processing mechanism according to its configuration.

Important: Asynchronous Processing Mode determines that New messages are created first. The enabled processing option determines how these messages are subsequently processed into Salesforce.

image

5. Example: Create New Messages Using SKYVVA Agent

This example demonstrates how to create New messages using SKYVVA Agent with SQL Server as the external data source.

The same Processing Mode concept applies to other supported external systems or applications, although their connection and transfer settings may differ.

Example Configuration

SettingValue
External SystemSQL Server
Integration ToolSKYVVA Agent
Source TableContact_Inb
Salesforce ObjectContact
Processing ModeAsynchronous
Processing OptionDirect Processing
Source Records1,000 Contacts

Step 1: Prepare Source Data

Prepare 1,000 Contact records in the SQL Server source table.

Ensure that the required source fields are mapped to the Salesforce Contact object in the SKYVVA Inbound Interface.

Step 2: Configure Asynchronous Processing

Open the Inbound Interface and select:

Save the configuration.

Step 3: Execute SKYVVA Agent

Execute the configured inbound operation using SKYVVA Agent.

The Agent reads the Contact records from SQL Server and sends them to SKYVVA.

Step 4: Create New Messages

SKYVVA receives the data and creates inbound messages with status New.

For a flat Contact interface that creates one message per source record, 1,000 Contact records result in 1,000 New messages.

At this stage, the business records have not yet been processed into Salesforce.

image

Step 5: Automatically Process New Messages

After message creation, SKYVVA automatically processes the New messages directly into Salesforce.

image

If Batch, Bulk, or Auto-Switch processing is enabled instead, SKYVVA uses the corresponding processing mechanism.

Step 6: Verify Salesforce Records

After processing completes, open Salesforce and verify that the expected Contact records were created or updated.

Expected Result:

6. Important Notes About Package Size

SKYVVA provides two package size settings relevant to this example: Transfer Package Size and Processing Package Size.

These settings have different purposes.

Transfer Package Size

When using SKYVVA Agent with Synchronous processing, Transfer Package Size determines how many records the Agent sends in each transfer package.

Example:

The Agent sends 10 transfer packages, each containing 100 records, for direct processing into Salesforce.

Processing Package Size

Processing Package Size controls the number of eligible messages processed per chunk during applicable manual or scheduler reprocessing.

Example:

Behavior in Asynchronous Mode

When using SKYVVA Agent with Asynchronous Processing Mode, Transfer Package Size and Processing Package Size checks are skipped during the initial creation of New messages.

image

This means the initial message-creation step is not divided into processing chunks based on these two settings.

Note: Processing Package Size is used when messages are reprocessed manually or through a scheduler. It should not be confused with the initial creation of New messages.

Package transfer settings may differ depending on the external system or integration tool used.

7. Verify New Messages in SKYVVA Message Monitor

After sending data through an Inbound Interface configured with Asynchronous Processing Mode, users can verify the created messages and their processing results in SKYVVA Message Monitor.

Initially, SKYVVA creates inbound messages with status New, without immediately processing the business records into Salesforce.

After the New messages are automatically processed, their status changes to Completed when processing is successful. Users can verify the final processing results in SKYVVA Message Monitor.

Note: Automatic processing may begin shortly after message creation. Therefore, some messages may already be Completed when users open SKYVVA Message Monitor.

Summary

The Processing Mode setting determines how incoming business data is handled by SKYVVA.

With Asynchronous mode, New messages can be processed directly into Salesforce or through Batch, Bulk, or Auto-Switch when the corresponding processing option is enabled.

When using SKYVVA Agent with Asynchronous Processing Mode, Transfer Package Size and Processing Package Size checks are skipped during initial New message creation.

Asynchronous Processing Mode is useful when users want to separate incoming message creation from Salesforce business record processing.

Open this article in the interactive viewer →