Synchronize Salesforce Cases with ServiceNow Incidents based on Platform Events

Synchronize Salesforce Cases with ServiceNow Incidents based on Platform Events

Create a trigger to generate an event

Create a trigger to generate an event

To create a trigger to generate an event, perform the following steps:
Informatica recommends that you use the Salesforce Lightning Experience as Salesforce plans to retire Process Builder and recommends building automation in Flow Builder.
  1. Go to
    Setup
    Process Automation
    Flows
    , and then click
    New Flow
    .
    The following image shows the list of flows on the
    Flows
    page:
    The image shows the list of flows on the Flows page.
  2. Select
    Record-Triggered Flow
    .
    The following image shows the
    Record-Triggered Flow
    on the
    New Flow
    dialog box:
    The image shows the Record-Triggered Flow option on the New Flow dialog box.
  3. Click
    Create
    .
  4. In the
    Object
    field, select the object as
    Case
    .
  5. In the
    Configure Trigger
    section, select the
    A record is created or updated
    option.
    The following image shows the
    Flow Builder
    page:
    The image shows the Flow Builder page.
  6. Add a new element in the flow builder space,
    Data
    Create Records
    .
  7. Enter values in the
    Label
    and
    API Name
    fields.
  8. In the
    How Many Records to Create
    field, select
    One
    .
  9. In the
    How to Set the Record Fields
    field, select
    Use separate resources, and literal values
    .
  10. In the
    Create a Record of This Object
    section, enter the name of the Salesforce platform event you created in the
    Object
    field.
  11. In the
    Set Field Values for the Subscription to Case
    field, map the fields in the Salesforce platform event using the
    {!$Record}
    in the
    Value
    field.
    The image shows the Set Field Values for the Subscription to Case field where you can map the fields in the Salesforce platform event using the {!$Record} in the Value field.
  12. Click
    Save
    and
    Activate
    .
    After completing these steps, you have the event consumer, consumer key, and consumer secret values for setting up the Salesforce connection in
    Application Integration
    .

0 COMMENTS

We’d like to hear from you!