Skip to main content

Notifications

Announcements

No record found.

Community site session details

Community site session details

Session Id :
Customer experience | Sales, Customer Insights,...
Suggested answer

Stop Real Time Journey Instance if logic in custom trigger fails

(0) ShareShare
ReportReport
Posted on by 2

Hey Experts, 

for the real time marketing journeys we have built a custom trigger which starts a power automate to do some things. However I was wondering how we can handle errors that are happening inside the power automate in the real time journey. 

So basically lets assume that there is a custom trigger that is creating some records in dataverse or any third party app. this power automate is normally working but  because of timeouts its failing for some instances in the journey. As i was testing this for me it looks like that the real time journey is still moving to the next steps after calling the custom trigger.

Is there any way how we can let the real time journey now that there was an error in the custom trigger and maybe stop the journey for this specific contact? I was thinking about adding an exclude segment but  I m not sure that this is also working for contacts that are already part of the journey.


Many thanks,
Alan


  • Suggested answer
    mhoekstra Profile Picture
    140 on at
    RE: Stop Real Time Journey Instance if logic in custom trigger fails

    Hi,

    You shlould not us exclude but exit criteria. By default, customers will end the journey when they complete all the steps. You can set additional ways for customers to exit the journey by using triggers or segments.

    • Exit when an event occurs: Customers who perform this trigger will immediately exit the journey no matter where they are in the journey. This provides an easy way to remove customers who perform the trigger from the journey, ensuring that customers do not receive irrelevant messages from your customer journey.
    • Exit by segment: Customers who are part of this segment will immediately exit the journey. This capability is often referred to as a suppression segment and helps you ensure that members of this segment are suppressed from the customer journey. Exit by segment will remove members of that segment from wherever they are in the customer journey. This is notably different from the exclude by segment property in journey start, which will only exclude members of the exclusion segment from starting the journey.

    See https://learn.microsoft.com/en-us/dynamics365/marketing/real-time-marketing-segments#suppression-segments

  • Sayen Zhang Profile Picture
    on at
    RE: Stop Real Time Journey Instance if logic in custom trigger fails

    Hi Alan,

    Hope you are well.

    I'm afraid it is not available for now to stop the journey for this specific contact when there was an error in the custom trigger.

    If we add an exclude segment, this is also working for contacts that are already part of the journey.

    Here is a reference link: learn.microsoft.com/.../real-time-marketing-tile-reference

    Best Regards,

    Sayen Zhang

Under review

Thank you for your reply! To ensure a great experience for everyone, your content is awaiting approval by our Community Managers. Please check back later.

Helpful resources

Quick Links

Daivat Vartak – Community Spotlight

We are honored to recognize Daivat Vartak as our March 2025 Community…

Announcing Our 2025 Season 1 Super Users!

A new season of Super Users has arrived, and we are so grateful for the daily…

Kudos to the February Top 10 Community Stars!

Thanks for all your good work in the Community!

Leaderboard

#1
André Arnaud de Calavon Profile Picture

André Arnaud de Cal... 292,863 Super User 2025 Season 1

#2
Martin Dráb Profile Picture

Martin Dráb 231,723 Most Valuable Professional

#3
nmaenpaa Profile Picture

nmaenpaa 101,156 Moderator

Leaderboard

Featured topics

Product updates

Dynamics 365 release plans