Skip to main content

Maintain Your Integration Architect Certification for Winter ’23

Learning Objectives

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

  • Generate flow choice options from external data.
  • Group platform events into one stream with a custom channel.
  • Access external services actions in a flow as a guest user.
  • Develop event-driven apps with Pub/Sub API.
Note

Important: In order to maintain your certification, you must complete all five units of this module.

Generate Flow Choice Options from External Data

If your business process interacts with external data, your users can now view and select that external data on flow screens. For example, a car dealership stores car inventory data outside of Salesforce. They have an external service to access the inventory, and now their users can select which cars to view. Previously, external data appeared on screens via display text or default values in inputs, but users were unable to select external data.

Where: This change applies to Lightning Experience and Salesforce Classic in Essentials, Professional, Enterprise, Performance, Unlimited, and Developer editions.

How: Create a collection choice set and reference an Apex-defined collection from an external service, Apex action, or another screen component. Then add your collection choice set to the appropriate choice component, such as a picklist. At runtime, the picklist options are generated based on whatever data was populated in the referenced Apex-defined collection.

Group Platform Events into One Stream with a Custom Channel

With a custom channel, you can receive a stream of event messages corresponding to one or more platform events defined in Salesforce. For example, if you define platform events corresponding to orders for different regions, one client can subscribe to all those events and process them. Custom channels are only supported in CometD clients. Optimize your subscription by using filters and only one client to subscribe to all events.

Where: This change applies to Lightning Experience and Salesforce Classic in Enterprise, Performance, Unlimited, and Developer editions.

How: Create a custom channel, and specify the platform events it contains in Tooling API and Metadata API using PlatformEventChannel and PlatformEventChannelMember.

Custom channels are supported for high-volume custom platform events that you define. They aren’t supported for legacy standard-volume custom platform events or standard platform events, such as real-time event monitoring events.

For Performance, Unlimited, and Enterprise editions, add up to 50 distinct platform events as part of channel members to a channel. For Developer Edition and Professional Edition with the API add-on, this allocation is 5 distinct platform events. If the same platform event is a member of multiple channels, it’s only counted once toward the allocation.

Custom order channel containing three platform events, one event per region

The EventApiName field was added to event messages to distinguish the messages received on a custom channel. The field contains the type of event and is available in CometD clients that use a Streaming API endpoint with API version 55.0 and later. For example, this event message has an EventApiName of Order_EMEA__e, which means that it’s an Order_EMEA__e event.

{
  "schema": "e8jMOnID4xDThlaPBMx5gg",
  "payload": {
    "City__c": "London",
    "CreatedById": "005RM000002Qu16YAC",
    "Amount__c": 20,
    "CreatedDate": "2022-03-29T13:45:19.230Z",
    "Order_Number__c": "2"
  },
  "event": {
    "EventApiName": "Order_EMEA__e",
    "EventUuid": "218544ad-0472-4315-970f-8825a2802de6",
    "replayId": 10306
  }
}

Access External Services Actions in Flow as a Guest User

Community guest users now can run flows containing External Services actions if they have access to the flow in Experience Builder. Previously, Community guest users had to request access via a support case.

Where: This change applies to Lightning Experience in Enterprise, Performance, Unlimited, and Developer editions.

Develop Event-Driven Apps with Pub/Sub API

Use one of the 11 programming languages, including Python, Java, Go, and Node, that Pub/Sub API supports to publish and subscribe to platform events and change data capture events. Get peace of mind with final publishing results instead of intermediate queueing results. And with subscription flow control, fine-tune the number of event messages that you receive based on your event processing speed.

Where: This change applies to Lightning Experience and Salesforce Classic in Enterprise, Performance, Unlimited, and Developer editions.

When: This feature is available now.

Why: Simplify your development by using a single API to manage your events, including publishing, subscribing, and retrieving the event schema. For help with development and troubleshooting, call on the gRPC developer community. With Pub/Sub API, you can employ cross-cloud integration capabilities so that your event-driven apps can be integrated across Salesforce clouds.

Resources

Keep learning for
free!
Sign up for an account to continue.
What’s in it for you?
  • Get personalized recommendations for your career goals
  • Practice your skills with hands-on challenges and quizzes
  • Track and share your progress with employers
  • Connect to mentorship and career opportunities