SK SKYVVA Documentation

2. How to create change record using Process Builder?

Learning Objectives :- After completing this unit, you’ll be able to:

Introduction

Process builder is a puissant 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 utilize process builder to engender change pointer. It avail you facilely automate your business processes by providing a powerful and user friendly visual representation of your process. The Process Builder’s simple and powerful design sanctions us to build customize the automated process.

What is process builder?

Process Builder is a Salesforce’s point-and-click implement that we facilely automate if/then business processes and observe a graphical representation of our process. Every process consists of :

We can configure immediate actions or schedule actions to be executed at a concrete time. To keep things simple, this unit fixates on the most mundane process type: Record Change, which means the process, will commence when the records are engendered or edited. 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 →