How to subscribe the salesforce platform events using logic app salesforce connector?

Rishit 45 Reputation points
2023-07-28T03:57:57.8733333+00:00

Hi Team,

We have a logic app with a Salesforce trigger (when a record is created) configured to a platform event. But when I am trying to run the trigger I see the following error:

Salesforce failed to complete task: Message: entity type CustomEvent__e does not support query

What is the best way to subscribe to a platform event using logic apps?

Azure Logic Apps
Azure Logic Apps
An Azure service that automates the access and use of data across clouds without writing code.
3,323 questions
{count} votes

Accepted answer
  1. MayankBargali-MSFT 70,801 Reputation points
    2023-08-01T05:59:13.2166667+00:00

    @Rishit Thanks for reaching out.

    Unfortunately, as of now the custom tables are not supported. Some limitations are document here.

    The salesforce connector logic is based on assumption that every table is derived from the default “Standard Object” type, which has an Id column.

    The workaround would be creating your own custom connector and leveraging the REST endpoint from the salesforce end.

    I will also suggest you to pass your feedback/feature request in the feedback forum here.

    Please "Accept Answer" if the answer is helpful so that it can help others in the community.


0 additional answers

Sort by: Most helpful

Your answer

Answers can be marked as Accepted Answers by the question author, which helps users to know the answer solved the author's problem.