Skip to main content

Notifications

Announcements

No record found.

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
    mhoekstra 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
    Sayen Zhang 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

December Spotlight Star - Muhammad Affan

Congratulations to a top community star!

Top 10 leaders for November!

Congratulations to our November super stars!

Tips for Writing Effective Verified Answers

Best practices for providing successful forum answers ✍️

Leaderboard

#1
André Arnaud de Calavon Profile Picture

André Arnaud de Cal... 291,391 Super User 2024 Season 2

#2
Martin Dráb Profile Picture

Martin Dráb 230,445 Most Valuable Professional

#3
nmaenpaa Profile Picture

nmaenpaa 101,156

Leaderboard

Featured topics

Product updates

Dynamics 365 release plans