Calling Apex From IP
Calling Apex From IP
Calling Apex From IP
Integration
Procedure
APEX
OmniStudio
OmniStudio is a low-code development platform
that allows businesses to build custom applications
quickly and easily. It helps to simplify the creation of
complex, industry-specific experiences on
Salesforce.
Sample Records
Step 1 - Fetch the records using Data Raptors
system.debug(input); (Map<String,Object>)
{
input={
SalesorderRecords=(
{Amount__c=120000,Id=a0KJ3000001lQ7RMAU,Name=SO-001},
{Amount__c=10000000,Id=a0KJ3000001lQ7SMAU,Name=SO-002, Priority__c=Medium},
{Amount__c=2000000,Id=a0KJ3000001lQ7TMAU,Name=SO-004, Priority__c=Low},
{Amount__c=50000,Id=a0KJ3000001lQ7bMAE,Name=SO-003},
{Amount__c=60000,Id=a0KJ3000001lQ7gMAE,Name=SO-005}) },
options={}, output={}
}
{
SalesorderRecords=
({Amount__c=120000,Id=a0KJ3000001lQ7RMAU,Name=SO-001},
{Amount__c=10000000,Id=a0KJ3000001lQ7SMAU,Name=SO002,Priority__c=Medium},
{Amount__c=2000000, Id=a0KJ3000001lQ7TMAU, Name=SO-004, Priority__c=Low},
{Amount__c=50000, Id=a0KJ3000001lQ7bMAE, Name=SO-003},
{Amount__c=60000, Id=a0KJ3000001lQ7gMAE, Name=SO-005})
}
system.debug(inputRecords);
(
{Amount__c=120000,Id=a0KJ3000001lQ7RMAU,Name=SO-001},
{Amount__c=10000000,Id=a0KJ3000001lQ7SMAU,Name=SO-002,Priority__c=Medium},
{Amount__c=2000000,Id=a0KJ3000001lQ7TMAU,Name=SO-004,Priority__c=Low},
{Amount__c=50000,Id=a0KJ3000001lQ7bMAE,Name=SO-003},
{Amount__c=60000, Id=a0KJ3000001lQ7gMAE, Name=SO-005}
)
Note: In the output, I include the recordId and the records with
an amount greater than 120000.
The output format must be a Map<String, Object>
Response Action-