SK SKYVVA Documentation

How to use the Set the status for the empty message?

Introduction

The SKYVVA Integration App is a powerful tool designed to facilitate seamless data integration between Salesforce and external systems. With its robust features, businesses can efficiently manage complex integration scenarios, ensuring data consistency and reliability. One critical aspect of this integration process is handling empty messages during inbound processing, which can occur when an external system sends a message with missing or null content. Properly managing these empty messages is essential to maintaining the integrity of your data flow and preventing disruptions in your business processes.

In the context of API integrations, particularly with SKYVVA's API v3 and v4, handling empty messages involves setting the appropriate status based on predefined business rules. The SKYVVA Integration App allows you to raise errors and set specific statuses when an empty message is encountered during inbound processing. These statuses include:

By using the SKYVVA Integration App’s API v3 and v4 capabilities to handle empty messages in this manner, you can ensure that your data integration processes remain robust and error-free. This approach enhances your ability to manage exceptions effectively, maintain data integrity, and streamline your overall integration workflow.

Case1 API integrateV3():

To utilize the API integrateV3() for managing empty message status and handling errors with the SKYVVA integration application, follow these steps:

Business scenario by using Postman

Case2 API integrateV4():

To utilize the API integrateV4() for managing empty message status and handling errors with the SKYVVA integration application, follow these steps:

Business scenario by using Postman

By effectively following these steps and leveraging the API integrateV3() & integrateV4() the user can efficiently manage empty message status and handle errors within your SKYVVA integration application.

Raise an Error and set the status to 'Failed':

[su_box title="Result:" box_color="#2a8af0" title_color="#000000"]After sending data from Postman to Salesforce we get the Failed message that has no data.[/su_box]

Raise an Error and set the status to 'Pending':

[su_box title="Result:" box_color="#2a8af0" title_color="#000000"]Here is the use case send data from Postman to Salesforce raise a warning and set the status message to Pending.[/su_box]

Raise an Error and set the status to 'Cancelled':

[su_box title="Result:" box_color="#2a8af0" title_color="#000000"]Here is the use case send data from Postman to Salesforce raise a warning and set the status message to Cancelled.[/su_box]

Summary

Users now understand how to utilize the API integrateV3() & API integrateV4() within the SKYVVA integration application to manipulate message statuses. They can set the status to 'Failed', 'Pending', or 'Cancelled' by raising corresponding errors via the API, empowering precise control over message handling for streamlined workflow management.

Open this article in the interactive viewer →