web
You’re offline. This is a read only version of the page.
close
Skip to main content

Notifications

Announcements

Community site session details

Community site session details

Session Id :
Power Platform Community / Forums / Power Automate / Testing, Cancelling Flows
Power Automate
Unanswered

Testing, Cancelling Flows

(0) ShareShare
ReportReport
Posted on by 35

Hello everyone,

it is possible to test if a MS flow is failed using a dynamics crm worklflow (my MS flow triggered in dynamics crm too)?

if yes please say me how.

thanx

Categories:
I have the same question (0)
  • yashag2255 Profile Picture
    24,769 Super User 2024 Season 1 on at

    Hi @Hedibn 

     

    Can you share more details? 

     

    By triggered from dynamics CRM do you mean that the trigger is : "When a record is selected in d365/CDS"? If so, you will have to test it by triggering the flow from the record itself. If not, what is the trigger that you are using? Can you share a screenshot?

     

    Hope this Helps!

    If this reply has answered your question or solved your issue, please mark this question as answered. Answered questions helps users in the future who may have the same issue or question quickly find a resolution via search. If you liked my response, please consider giving it a thumbs up. THANKS!

  • hedi bouneni Profile Picture
    35 on at

    hi @yashag2255 

    my flow triggerd when a new record in dynamics crm created ,the flow make some check field and If the whole process is ok, do not display any information but if there is some error the flow will canceled (terminate :failed ), and i need to show an infromation direct in crm. my problem that ms flow can not directly show alert in dynamics crm and we are not allowed to use javascript (NO Code Project) do u have any idea how i can do it ???

    thank u so much.kap3.JPGkap2.JPGkap1.JPG

  • yashag2255 Profile Picture
    24,769 Super User 2024 Season 1 on at

    Hey @Hedibn 

     

    Flow cannot invoke JavaScript (even in CRM) currently. You can refer to the below links to create web resources with javascript code that can show error notifications on the form. 

    https://community.dynamics.com/365/b/softchiefmicrosoftdynamics365/posts/dynamics-365-js-notifications

    Hope this Helps!

    If this reply has answered your question or solved your issue, please mark this question as answered. Answered questions helps users in the future who may have the same issue or question quickly find a resolution via search. If you liked my response, please consider giving it a thumbs up. THANKS!

  • hedi bouneni Profile Picture
    35 on at

    @yashag2255  thank your for your time ,the project is a no code Project so i can not use Javascript so my question was if it is possible to test if the Ms flow is Failed using a workflow and if yes so i can show error  msg using the workflow.

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

Forum hierarchy changes are complete!

In our never-ending quest to improve we are simplifying the forum hierarchy…

Kudos to our 2025 Community Spotlight Honorees

Congratulations to our 2025 community superstars!

Leaderboard > Power Automate

#1
trice602 Profile Picture

trice602 398 Super User 2025 Season 2

#2
David_MA Profile Picture

David_MA 331 Super User 2025 Season 2

#3
Expiscornovus Profile Picture

Expiscornovus 203 Most Valuable Professional

Last 30 days Overall leaderboard