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 : Eternus Solutions } Object Name : Account
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 : Eternus Solutions } Object Name : Account This was a question which is included in my Asynchronous Apex assignment. So,you have any idea about this then plz let me know?
here, basically create Event name object and create two fields i.e JSON & Object name within this create batch class -> get all the Events with JSON and ObjectName fields. interate over the records and create SObject based on the ObjectName and JSON Data. insert that list
Can you provide more details on your ask I can suggest better? Thanks
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 : Eternus Solutions } Object Name : Account
This was a question which is included in my Asynchronous Apex assignment. So,you have any idea about this then plz let me know?
create batch class -> get all the Events with JSON and ObjectName fields.
interate over the records and create SObject based on the ObjectName and JSON Data.
insert that list