Loading
Feature Degradation | Agentforce Voice Read More
Automotive Cloud
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
          Create an Execution Procedure for a Vehicle Telematics Orchestration

          Create an Execution Procedure for a Vehicle Telematics Orchestration

          An execution procedure outlines the steps for an actionable event orchestration. Use expression sets or flows as execution procedures. Using the standard and custom elements in the expression set builder, users create a series of filters, calculation conditions, aggregation conditions, and eligibility parameters to define the type of action for a specific event. Using the elements in a Flow Builder and custom Apex actions, users can create complex business rules to trigger actions. The actions are automatically executed each time a decision table matches a specific event to the corresponding orchestration record.

          Required Editions

          Available in: Enterprise, Unlimited, and Developer Editions.
          User Permissions Needed
          To create an execution procedure: Design Actionable Event Orchestration Processes
          1. Open an actionable event orchestration record and click Open Procedure from the quick actions menu.
            You can also click the record hyperlink on the Execution Procedure Name field.
            • For expression set-based orchestrations, the expression set builder opens with the most current active version.
            • For flow-based orchestrations, the Flow record page opens and you can click Open Flow to open the flow builder.
          2. For resources within each element of a flow or expression set, use context variables or local variables to store input and output values.
          3. Click Save.
          4. To start using the execution procedure, click Activate.
            You can activate the related actionable event orchestration record only after you activate the execution procedure.
          Example
          Example

          Neo Motors wants to create an expression set-based execution procedure that automatically creates a record alert and a case for event type Critical Issues. The event type is related to multiple diagnostic codes. The record alert is displayed on the vehicle record page, and service agents can immediately take notice of the issue to further diagnose it. And the case can be used to collaborate with the customer and take the investigation further.

          • P0110: Malfunction in the intake air temperature sensor circuit.
          • P0500: Malfunction in the vehicle speed sensor.
          • P0706: Fault in the transmission range sensor circuit range.
          • P0442: System leak in a vehicle’s evaporative emission control system.

          The user wants to add a filter to the procedure so that alerts and cases are only created for the codes P0101 and P0706. Here’s how they create the procedure.

          • Drag the List Group element to the canvas.
          • Drag the List Filter element to the canvas and place it inside the list container.
          • In the List Filter element, add these values.
            FieldValueDetails
            Filter Condition Requirements Any Condition Is Met (OR) A condition is created with two clauses.
            Resource code The diagnostic code is used as the filter condition.
            Operator Equals Exact code values are used to filter events.
            Value P0101 Malfunction in the intake air temperature sensor circuit qualifies as an event.
            Resource code The diagnostic code is used as the filter condition.
            Operator Equals Exact code values are used to filter events.
            Value P0706 Fault in the transmission range sensor circuit range qualifies as an event.
          • Drag the Record Action element to the canvas and place it inside the list container after the list filter.
          • In the Record Action element, add the following values.
            FieldValueDetails
            Operation Create Creates a record.
            Object Record Alert A record alert record is created.
            EffectiveDate eventTriggeredDate A context variable is created as part of the context definition mapping. The eventTriggeredDate is populated as the value.
            IsActive isActive A local variable created within the builder with the default value as True.
            ValidUntilDate validUntilDate A local variable created within the builder with the default value as a date two years in the future.
            WhatId VehicleId A context variable is created as part of the context definition mapping. The vehicleId is populated as the What ID.
            Subject recordAlertSubject A context variable is created as part of the context definition mapping. The recordAlertSubject is populated as the value.
            Description recordAlertDescription A context variable is created as part of the context definition mapping. The recordAlertDescription is populated as the value.
          • Drag another Record Action element to the canvas and place it inside the list container after the first record action.
          • In the Record Action element, add the following values.
            FieldValueDetails
            Operation Create Creates a record.
            Object Case A case record is created.
            Origin caseOrigin A local variable created within the builder with the default value as Vehicle Sensor.
            Status caseStatus A local variable created within the builder with the default value as New.
            Description caseDescription A context variable is created as part of the context definition mapping. The fault description is populated as the case description.
            AccountId acccountId A context variable is created as part of the context definition mapping. The owner name is populated as the Account ID.
            Subject caseSubject A context variable is created as part of the context definition mapping. The fault code is populated as the case subject.
           
          Loading
          Salesforce Help | Article