Skip to main content

Notifications

Announcements

No record found.

Microsoft Dynamics 365 | Integration, Dataverse...
Suggested answer

How to trigger a flow when an item has been set "regarding" to an incident/case !

(0) ShareShare
ReportReport
Posted on by 40

Hi there.
I have a flow which uploads all attatchments from an email to a sharepoint site, however this does not trigger when the users manually set the field "Regarding" on an email to an actual incident/case ?
Do anybody know what entity I have to look at to catch this?

  • Community Member Profile Picture
    Community Member Microsoft Employee on at
    RE: How to trigger a flow when an item has been set "regarding" to an incident/case !

    Hi DuckyDev_IU,

    You mean the flow can't be trigger when the regarding field of email has been changed.

    It's so strange, my flow can be trigger in my test.

    Note: after creating the flow, you need refresh email view page to test it. 

  • DuckyDev_IU Profile Picture
    DuckyDev_IU 40 on at
    RE: How to trigger a flow when an item has been set "regarding" to an incident/case !

    Damn, I must have deleted that paragraph without knowing it.

    So the big issue is that some emails will land in a queue, however some of thoose emails are regarding a case/incident ( this happends because of the user of the system which is out of my hands). These email then need to be set regarding a case/incident. But changing the regarding field does not trigger the flow.

    Screenshot-2021_2D00_10_2D00_26-at-10.16.15.png

  • Community Member Profile Picture
    Community Member Microsoft Employee on at
    RE: How to trigger a flow when an item has been set "regarding" to an incident/case !

    Hi,

    Queue? It seems that you did not mention in your previous description.

    Can you share screenshots of the flow you created if possible?

  • DuckyDev_IU Profile Picture
    DuckyDev_IU 40 on at
    RE: How to trigger a flow when an item has been set "regarding" to an incident/case !

    I would also assume that this would work, however the flow is not triggered when a Item in the queue is set regarding an incident/case

    [quote user="Leah Ju"]

    Hi DuckyDev_IU,

    You can set flow as following screenshot:

    To get the type of the field regarding. We must use the following expression:

    triggerOutputs()?[‘body/_regardingobjectid_type’]

    pastedimage1635143039336v2.png

    Result:

    pastedimage1635142929484v1.png

    Then you can set regarding type as condition, only type is incident can continue:

    pastedimage1635143251773v3.png

    [/quote]
  • Suggested answer
    Community Member Profile Picture
    Community Member Microsoft Employee on at
    RE: How to trigger a flow when an item has been set "regarding" to an incident/case !

    Hi DuckyDev_IU,

    You can set flow as following screenshot:

    To get the type of the field regarding. We must use the following expression:

    triggerOutputs()?[‘body/_regardingobjectid_type’]

    pastedimage1635143039336v2.png

    Result:

    pastedimage1635142929484v1.png

    Then you can set regarding type as condition, only type is incident can continue:

    pastedimage1635143251773v3.png

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

Congratulations 2024 Spotlight Honorees

Kudos to all of our 2024 community stars! 🎉

Meet the Top 10 leaders for December

Congratulations to our December super stars! 🥳

Start Your Super User Journey Pt 2

Join the ranks of our community heros! 🦹

Leaderboard

#1
André Arnaud de Calavon Profile Picture

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

#2
Martin Dráb Profile Picture

Martin Dráb 230,569 Most Valuable Professional

#3
nmaenpaa Profile Picture

nmaenpaa 101,156

Leaderboard

Product updates

Dynamics 365 release plans