function readOnly(count){ }
Starting November 20, the site will be set to read-only. On December 4, 2023,
forum discussions will move to the Trailblazer Community.
+ Start a Discussion
sagarrrrsagarrrr 

Generic Record Creation Engine 1. The third party system will create events in a system to create any sobject's records. 2. There will be a field will hold the JSON of the record & the object name. JSON : { Name : ABC Company Name Object Name : Account H

Hello all,

Generic Record Creation Engine
1. The third-party system will create events in a system to create any sobject's records.

2. There will be a field will hold the JSON of the record & the object name.
JSON : {
Name : ABC Company Name
Object Name : Account

3. so create a process which will execute per minute & process the Event's records creating the respective sObject.

I am new for batch apex plz help me thank you.
Danish HodaDanish Hoda
Hi Sagar,
Could you hep me with where this JSON record is getting created in Salesforce after which you would need this batch?
sagarrrrsagarrrr
JSON :{
    "Object Name" : "Account",
    "Object Data" : {
        "Name": "test3",
        "Site" :"testcompany.com",
        "Company":"testcompany"   
    },
    "Object Name" : "Contact",
    "Object Data" : {
        "Last Name": "test2",
        "First Name" : "test1"
        "Email" :"test@gmail.com"
    }
}   

In my personal org, I am creating JSON record.
Danish HodaDanish Hoda
Hi Sagar,
If I am getting it correct, you are having this JSON record in one of the Custom Objects, right?