SK SKYVVA Documentation

7. Using Salesforce like Process Builder and Flow to trigger the data change in real-time

What is process builder?

Process builder is a powerful implement. we can use to automate business processes. It has a simple interface that sanctions us to point and click to cull objects and fields while establishing immediate and time-predicated actions. We use process builder to engender change pointer. It help you to  easy automate your business processes by providing a powerful and user friendly visual representation of your process. The Process Builder’s simple and powerful design allow us to build customize the automated process. Actions Available In Process Builder for outbound processing: Trigger Apex code: You can use Salesforce process builder to invoke Apex code you have written within Salesforce. Apex can be anything from custom logic to save a record to complex business processes. Create a record: This will allow you to create new records and set certain field values for the new record. Update records: Update one or more records that are related to the record that started the process. You can update the record with manually entered values or by using the values from related records. We can update records of parent or child Here we will going to use Create Change pointer I,e CP record for outbound processing.

Pre-requisite:

*

[su_box title="Note" box_color="#2a8af0" title_color="#000000"] 

  1. The interface could be set creating change pointer by process builder or trigger. You have to select SKYVVA API.
Create Change pointer mode: You can create change pointer using:

Why process builder?

Process builder is more flexible in comparison to workflow. In workflow rule can’t update child record where as in process builder we can CDD Job

Process Builder

Here We will going to create process with process builder in order to get Change pointer records. Scheduler CDD will skip this interface if value is specified. To create process using process builder follow the given steps: Setup =>Create =>Build=>Process builder=>New*

Set condition field. Choose condition type.
  1. Enter criteria name.
2. Choose Criteria condition to formula evaluate to true 3. Set condition field and Choose condition type. Build Formula by insert the Function and Field    4. click  on Save .
  1. Select the Action Type: Apex
  2. Select the Action Name: Create CP Record
  3. Select Apex Class: SKYVVA Callout/Create CP. When you section it, some of dropdown list will appear for you to choose. Then click Add Row to add 2 more.

To be able to execute process builder, just click on Activate button.

To monitor change pointer records

You can check the change pointer records in CDC Control Board.

Open this article in the interactive viewer →