Skip to content
  • Blog
  • Docs
  • Documentation
  • Imprint
SKYVVA Integration App – Documentation
SKYVVA Integration App - Documentation
  • Documentation
  • Zurück zur Webseite
  • Back to website
SKYVVA Integration App – Documentation
SKYVVA Integration App - Documentation
Popular Search how tohow to useagenthowdatarestformulacustomstorebatch

SAP PI/PO Adapter

Tutorials (Lightning)

Agent Old Administration Guide

SAP Release Notes

Agent Release Notes

Agent - New Administration Guide

SAP CPI Adapter

SKYVVA Administration Guide (Lightning)

  • SKYVVA Administration Guide
  • Scheduler
    • 1. Scheduler
    • 2. Using Scheduler tab to search scheduler by functional group
    • 3. Alerting Scheduler for Batch processing with threshold value setting.
    • 4. DoMaintenance Scheduler
    • 5. Interface Execution Scheduler.
    • 6. Message Reprocessing Scheduler
    • 7. Basket Processing Scheduler.
    • 8. Bulk Processing Scheduler.
    • 9. CDD and CDT Scheduler.
    • 10. Functional Category screen pop-up on multi-picklist
  • Data Loader
    • 1. Data Loader
  • Workflow
    • 1. Workflow
    • 2. Dependent Workflow processing
    • 3. Runtime Behavior
    • 4. Condition Builder in Workflow.
    • 5. Using Formula in workflow
    • 6. How to send messages to multiple receivers based on the workflow condition for the outbound interface?
    • 7. Import and Export IWorkflow
    • 8. How to build Sample Data to Test the Formula of IWorkflow Condition?
  • Different API for the Outbound message processing
    • 1. Different API for the Outbound message processing
    • 2. Invoke callout()
    • 3. Invoke callout2()
    • 3. Invoke Callout3()
    • 4. Process builder
    • 5. Apex Class
    • 6. Send data with button or Trigger
    • 7. InvokeCallout V3 based on the interface setting ?
  • What is SKYVVA?
    • 1. What is SKYVVA?
    • 2. Install SKYVVA
    • 3. How SKYVVA Apps looks like after a fresh installation
    • 4. Upgrading to a new release
    • 5. Apply and renew license key
    • 6. SKYVVA Integration Cloud ( SKYVVA App)
  • Transporting of SKYVVA object
    • 1. Transporting of SKYVVA object
    • 2. Backup/Restore every SKYVVA object
    • 3. Backup and Restore of an interface
    • 4. Backup and Restore of Metadata Provider
  • Inbound Message Processing
    • 1. Inbound Message Processing
    • 2. Different mode of the inbound message processing
    • 3. Batch Processing
    • 4. Bulk Processing
    • 5. Use Auto-Switch Mode
    • 6. Adding custom logic to the inbound message processing
    • 7. Available operation to post the message
    • 8. Publish Salesforce Platform Event
    • 9. The new Inbound processing with version v3
    • 10. New plug-in custom logic of the inbound processing
    • 11. Acknowledgement scenario for Inbound processing
  • What is an integration?
    • 1. What is an integration?
    • 2. The parameter and Fields of Integration
    • 3. Creating and clone the integration
    • 4. Alerting Setup
    • 5. Message Setup
    • 6. Automated report for failed and pending message
    • 7. Generate Metadata
  • Metadata Provider
    • How to Import File JSON to Create Message Type.
    • 1. Metadata Provider
    • 2. Repository
    • 3. Message Type and Different ways of creating message type.
    • 4. Export Metadata
    • 7. How to Import MetaData Provider to Create Message Type?
    • 6. How to Import MetaData Provider to Create Message Type?
    • 7. Message type by importing wsdl file format
    • 8. Import OpenAPI 3.x to create message type
    • 9. SAP Business One Message Type from SAP Metadata
    • 10. How to use ‘Open Editor’ button to create message type ?
    • 11. How to Import file to create message type ?
  • Outbound Message Processing
    • 1. Outbound Message Processing
    • 2. Different mode of outbound processing
    • 3. The invokeCallout API to send message to the adapter
    • 4. Sending data in real-time
    • 5. Sending data in batch mode
    • 6. Using CDC – Change Data Control
    • 7. Using Salesforce like Process Builder and Flow to trigger the data change in real-time
    • 8. Using the interface execution scheduler to send data in a batch mode.
    • 9. using invokeCallout2() or invokeCalloutV3() with mode = BATCH
    • 10. New V3 outbound processing
    • 11. New plug-in custom logic of the out bound processing
    • 12. Pass data from screens or apex class to the outbound processing.
    • 13. Acknowledgement scenario for outbound processing.
    • 14. Search by the Business External Id in outbound message (Interface)
  • Message Monitoring
    • 1. Message Monitoring
    • 2. Change the Message Name
    • 3. Reprocessing of Messages
    • 4. Jump to Interface from message Monitor
    • 5. Jump from Task to SKYVVA message
    • 6. Message summarization report
    • 7. How to check entries in the message table
    • 8. Create hypertext link to jump to Failed Message
    • 9. The new v3 message monitoring with hierarchical view
    • 10. Message, API and Event message monitoring
    • 11. Detail view of message monitoring
  • Reprocessing
    • 1. Reprocessing
    • 2. Different reprocessing variant
    • 3. Manual reprocessing
    • 4. Automatic Reprocessing per job.
    • 5. Batch reprocessing
    • 6. Bulk Reprocessing
  • What is an interface?
    • 1. What is an interface?
    • 2. Create and delete an Interface
    • 3. Ichain
    • 4. Inbound Setup
    • 5. Outbound Setup
    • 6. Runtime Configuration-General
    • 7. Runtime Configuration-Inbound
    • 8. SOQL Query for filter sObject
    • 9. Alerting Setup
    • 10. Bulk Setting
    • 11. How to post the SKYVVA message Id on the application Subject
    • 12. Query Editor
    • 13. Generate Metadata
    • 14. Inbound Posting Behavior
    • 15. Handle request and response as a transaction for synchronous call
    • 16. View chain definition in an interface as tree
    • 17. How to Edit and Delete Istructure on interface related page.
    • 18. What to do with failed message field?
    • 19. Interface Operation Type
    • 20. Bypassing message layer
    • 21. Messages Board Tab on Interface Header Page
    • 22. Init-Operations
    • 23. Processing in transactional mode
  • Housekeeping
    • 1. Housekeeping
    • 2. Deleting messages
    • 3. Deleting logs
    • 4. Deleting Attachments
    • 5. Configuration examples
  • Change Data Control (CDC)
    • 1. Change Data Control (CDC)
    • 2. Change Pointer table
    • 3. CP Query Editor
    • 4. Create Change Pointer records using Process Builder
    • 5. Send Change Pointer records manually
    • 6. CDC support to send the deleted records to the receiver
    • 7. Using Alert Scheduler to notify by email when CDC table is full
    • 8. V3 outbound processing for CDC
    • 9. How to add Create Change Pointer field on interface Level?
    • 10. How to use the Salesforce CDC change event?
  • Different API for the inbound message processing
    • 1. REST API
    • 2. SOAP API
    • 3. Rest API for integration SearchService
    • 4. SearchService API
    • 5. V3 Integrate API Service
    • 6. V3 IntegrateWithIMessage API Service
    • 7. Response mapping using Message type for API IntegrateSynchronous
    • 8. V4 Integrate API Services
    • 9. V4 integrate api with xml, json and CSV format
    • 10. Change API response
    • 11. Calling SKYVVA REST API: V3/integrate Application: Skyvva Agent
    • 12. Calling SKYVVA REST API: V4/integrate Application: Skyvva Agent
    • 13. Calling SKYVVA REST API: V3/IntegrateWithIMessage Application: Skyvva Agent
    • 14. Calling SKYVVA REST API: V4/IntegrateWithIMessage Application: Skyvva Agent
  • Adapter
    • 1. Adapter
    • 2. Email Adapter
    • 3. Org.2-Org. Adapter
    • 4. Data Loader Adapter
    • 5. Put URL parameter to the SFDC2SAPPI adapter
    • 6. SOAP Adapter
    • 7. Use message type in response interface for REST adapter
    • 8. Status of adapters
    • 9. Agent Adapters
    • 10. SFDC2SAPPI Adapter
    • 11. Rest adapter
    • 12. How to build Path,Query and Header Parameter in Rest Adapter?
    • 13. SOAP template message type
    • 14. REST template message type
    • 15. OutboundV3 processing using SAP PI/PO
    • 16. SAP Business One adapter
    • 17. Dropbox
    • 18. Google Drive adapter
    • 19. Microsoft Dynamic
  • Mapping
    • 1. Mapping
    • 2. Mapping Method
    • 3. Formula In Mapping
    • 4. Set type for imapping record for REST request mapping
    • 5. Mapping of complex and hierarchical object
    • 6. Map all fields automatically which has the same name
    • 7. Mapping of Imported WSDL request/respons/fault
    • 8. Auto Create Query based on do mapping
    • 9. Set Context is a new function for the mapping to support hierarchical data mapping.
    • 10. Where to write Formula in mapping?
    • 11. How are attributes handle in the hierarchical mapping for xml payload?
    • 12. How the Data Loader support complex xml payload and attributes
    • 13. Set Context Filter
    • 14. Behavior of Sibling and Uncle node
    • 15. How to Callout Salesforce Organization’s ID By Mapping Formula ‘GETORGID’?
    • 16. New Button Test Mapping
  • What to do after refreshing the instance?
    • 1. What to do after refreshing the instance?
  • Interface Group
    • 1. Interface Group
    • 2. Type of interface group
    • 3. Property of the interface group
    • 4. Create Interface group
    • 5. Skyvva default interface group
    • 6. Remove interface from the interface group
    • 7. Usage of interface group
    • 8. Processing of interface group
  • How to enhance the response of the inbound synchronous interface to have a custom-defined message type?
    • 1. How to enhance the response of the inbound synchronous interface to have a custom-defined message type?
  • SKYVVA Trigger
    • 1. SKYVVA Trigger
  • Platform Event
    • 1. Platform Event
    • 2. How to consume the platform event created through Skyvva Apex trigger?
    • 3. Consume platform event by process builder
  • Operation Types
    • 1. Operation Types
    • 2. Operation Query
    • 3. Operation PullQuery
    • 4. Autolaunched Flow
    • 5. DML Operation
    • 6. Publish salesforce event
    • 7. Apex Class
    • 8. Operation Query All
    • 23.8 Rest Query
    • 23.9 REST Query All
    • 9. Bulk Query
    • 10. Bulk Query All
    • 11. Upsert Auto External Id, Update Auto External Id and Delete Auto External Id
    • 12. Store Procedure
    • 13. Add a new operation ‘Create New Message’ for the inbound API
  • Batch Processing
    • 1. Batch Processing
    • 2. The Batch Control Board
    • 3. How interface group is used?
    • 4. How queue is used?
    • 5. Priority handling
    • 6. Scheduler
    • 7. Status of the Basket
    • 8. Monitoring of batch and the related message
    • 9. Alerting
    • 10. Optimisation of the batch processing
    • 11. Transition from old to new basket table
    • 12. Process Attachment basket manually
    • 13. Add "Interface" tab to the Batch Control Board
    • 14. Integrate3Batch to handle tree message
  • Bulk Processing
    • 1. Bulk Processing
    • 2. The different bulk mode (swing UI)
    • 3. Bulk processing with v3 flat and hierarchical Data
    • 4. To use Bulk instead of Batch
    • 5. Running in pure bulk and auto-switch mode
    • 6. Scheduler
    • 7. Monitoring of bulk and the related message
    • 8. The different bulk mode using old agent control board
    • 9. Bulk processing with old agent control board
  • Basket Generic Filters
    • Introduction Global Basket
    • 1. Name & Attachment Name Basket
    • 2. Information Filter Basket
    • 3. Number of Record Filter Basket
    • 4. Date Filter Basket
    • 5. Delete Basket

SKYVVA Release Notes

SAP/ERP | S4/HANA (Latest Version) Adapter

SAP-ERP (Old Version) Adapter

Mule Adapter

Migration from SAP-PO SOAP Skyvva connector to REST connector module

View Categories
  • Home
  • Documentation
  • SKYVVA Administration Guide (Lightning)
  • Batch Processing

1. Batch Processing

Batch Processing uses for running batch jobs. It has more capability than synchronous and you can check job monitoring. Records have more than 200 but less than 5000, so we use batch processing. It can store many records in one batch, and you can set the time interval in batch processing scheduler of Skyvva to run anytime that you want.

Priority Handling  #

The priority handling is based on the interface group and not on the interface itself. When you define an interface group, e.g. IG_A you have chosen the priority e.g. High, Medium or Low.
Both Schedulers (attachment process and attachment reprocess scheduler) works with a configuration table for priority handling. The table is set the default to this value:

The configuration table for the priority handling looks like this:

The number specified in this table is the ratio between the priorities class High, Medium and Low. We use this number as a ratio because the processing of the attachment with the scheduler is done by the apex job. The maximum apex job size you can use at a given time is 5. Therefore, the number for the priority class High is set to 5. For medium, we have chosen the number 3 and for Low 1. Thus, we have a ration like 1/5 for Low, 3/5 for Medium and 5/5 for High.

The priority-handling algorithm is a weighted round robbing based on the priority ratio. To enable a weighted round robbing logic we have defined a so-called priority counter which is set dynamically by the processing of the attachment. Whenever data from a queue/interface group is processed the appropriate counter will be increased.

To understand the logic of the processing based on the priority ration let us look to this example.
The queue type is EO. The package size was not defined. Skyvva default interface group is not used. We have defined each interface as a separate interface group.

We have 3 High interface group, 2 Medium interface group, and 2 Low interface group.

Here is the initial state before the scheduler run. The counter is still at 0-0-0 meaning High = 0, Medium = 0 and Low = 0. The scheduler is scheduled to run every 2 minutes.
After the first scheduler round/run, it looks like this:

What happened now? While the scheduler run, we still have the 5-apex job available at that moment. Therefore, we can parallel the processing and use the 5-apex job at one time to process the interface group/queue.
Each apex job that is used to process the interface group e.g. to process the data package of the interface group is called a “Worker”. The scheduler is called the “Scheduler” and do not post the data. Its task is only to distribute the task to the worker. The worker will be posting the data into the application.
Whenever a worker is running, it will increase the counter of the appropriate priority class. Imagine that the first worker/apex job process the interface group “Opportunity_Balint” from line 13 in the above table. Then it increases the counter for the priority High from 0 -> 1 because the interface group/queue is of priority High.
The next worker will process the interface group/queue “Lead_Balint” and again increase the counter of the priority class High from 1 -> 2. The next worker will process the interface group/queue “Product_Balint” and increase the counter of the priority class High from 2 -> 3.
The next worker will process the interface group/queue “Case_Balint” and therefore set the priority class Medium from 0 -> 1. Note that the processing depends on the data existing in the working basket. Because there are no more data from priority class High the next priority is Medium and not Low. Therefore, Medium is processed before Low.
The next worker will process the interface group/ queue “Contact_Balint” and increase the priority class Medium from 1 -> 2. Now all 5 workers/apex job has done their work and coz. We do not have more apex jobs available than the maximum number of 5 the processing of the first round is done.
For further processing, we have to wait for the next scheduler run, which will be in the next 2 minutes. Here the result of the second scheduler run/round.

After the first scheduler run, the counter stand was 3-2-0. The second scheduler runs pick now the data of the priority class Low because in the basket there are no more data from priority High or Medium. If there were still data from priority, High or Medium than the second will first process those data before processing data from priority Low.
The interface group/queue “Account_Balint” is now processed and the counter is set for the priority Low from 0 -> 1. e.g. the total counter stand is 3-2-1.
To summarize the general logic of the priority-based round robbing scheduling we have seen is that first the data of priority High will be processed before Medium and Medium before Low.
Imagine further that we still have data to process and that at a given time we increase the counter for each priority class High, Medium and Low to its maximum number e.g. 5-3-1. This case means that data of each priority has been processed according to the ratio definition based on the ratio table above. In this situation, the counter is reset to the initial value 0-0-0 so that the processing can be rescheduling again with the initial stand. This is necessary because we want that each priority also priority Low will be processed even there are many data from class High. Therefore, this algorithm is a weighted round robbing scheduling and not an absolute round robbing algorithm.
Imagine that you have 100 % of the data in the working basket. This could be 100, 2500, 124.312, … attachments with different priority residing in the working basket. Then over time with this algorithm, we ensure that at least 10% of priority Low will also be processed and not 0 %. However, most data will be data from priority High and Medium, which will have been processed.
This is the feature of priority based handling for processing interface group/queue. With this feature, you are able to define the priority for your business data and ensure that very important data will be posted before low important data.
The priority-based handling feature only applied for the processing of the interface group/queue within an integration.

Share This Article :

  • Facebook
  • X
  • LinkedIn
14. Integrate3Batch to handle tree message2. The Batch Control Board
Table of Contents
  • Priority Handling 

Copyright © 2026 | Apsara Consulting GmbH | All rights reserved

  • Imprint
  • Zurück zur Apsara Webseite
  • Back to Apsara website