Loading
Ongoing maintenance for Salesforce HelpRead More
Feature degradation | Gmail Email delivery failureRead More
Table of Contents
Select Filters

          No results
          No results
          Here are some search tips

          Check the spelling of your keywords.
          Use more general search terms.
          Select fewer filters to broaden your search.

          Search all of Salesforce Help
          Use REST API or Apex Trigger to Run a Data Processing Engine Definitions (Managed Package)

          Use REST API or Apex Trigger to Run a Data Processing Engine Definitions (Managed Package)

          You can run Data Processing Engine definitions using REST API or Apex triggers.

          Managed Package Icon This is a Financial Services Cloud managed package feature.

          Here’s an example of how you can run a Data Processing Engine definition using REST API.

          Api Type:REST
          Method :POST
          EndPoint :/services/data/v50.0/actions/custom/dataProcessingEngineAction/RBLForAUMHH
          Url : https://mist66.soma.salesforce.com/services/data/v50.0/actions/custom/dataProcessingEngineAction/RBLForAUMHH
          Response :[
          {“actionName”:“RBLForAUMHH”,
          “errors”:null,
          “isSuccess”:true,
          “outputValues”:{“batchJobId”:“0mdx000000000U1AAI”,“accepted”:true}}
          ]

          Here’s an example of how you can run a Data Processing Engine definition using an Apex trigger.

          public class InvokeCalcJobViaRest {
          public void invokeJob(String ruleName){
          Http h = new Http();
          HttpRequest req = new HttpRequest();
          req.setEndpoint(URL.getSalesforceBaseUrl().toExternalForm() + '/services/data/v50.0/actions/custom/dataProcessingEngineAction/'+ruleName);
          req.setBody('{"inputs":[{}]}');
          req.setHeader('Authorization', 'OAuth ' + UserInfo.getSessionId());
          req.setHeader('Content-Type', 'application/json');
          req.setMethod('POST');
          HttpResponse res = h.send(req);
          System.debug(res);
          }
          }
           
          Loading
          Salesforce Help | Article