Skip to main content

Notifications

Power Apps - Microsoft Dataverse
Answered

Resource not found for the segment 'Case Types'

(0) ShareShare
ReportReport
Posted on by

I tried to create a case in Dataverse from e-mail alert. 

I'm facing an issue with this error message Resource not found for the segment 'Case Types'

After I read some similar issues on this forum, I tried Case Type (Case Types) field with 

Service Operations

Case Types(Service Operations) 

Case Type(Service Operations)

msdyn_casetype(Service Operations) 

msdyn_casetype([SERVICE_OPERATIONS_GUID]) 

 

None of them works for me. 

Please find the attached files for screenshots 

Thanks in advance

  • sjin Profile Picture
    sjin on at
    Re: Resource not found for the segment 'Case Types'

    That's a strange rule, but it works. I've been trying with <entity name>("guid"). *Remove parentheses and double quotations. I never thought it would have to be plural

  • Verified answer
    EricRegnier Profile Picture
    EricRegnier 8,705 on at
    Re: Resource not found for the segment 'Case Types'

    although i never tried with the subject entity, the format is <entity schema name plural>(“guid”) so:

    subjects(“guid”)

  • sjin Profile Picture
    sjin on at
    Re: Resource not found for the segment 'Case Types'

    @EricRegnier I don't have any subject under Subjects. In fact, I already know the GUID of Case Type. I'm not sure how to apply it on the Power Automate

  • EricRegnier Profile Picture
    EricRegnier 8,705 on at
    Re: Resource not found for the segment 'Case Types'

    My bad, I thought it was a optionset field, but the OOTB field is a lookup to Subject which is a bit tricky as you can't access via Advanced Find nor make.powerapps.com data.

    In make.powerapps.com, click "Advanced settings" on the top right gear icon --> Service Management --> Subjects

    Hit F12 to open the developer tools go to the subject element and you'll see the GUID:

    2020-12-04_15-33-22.png

    Also, in your flow action set the update statement to subjects('<guid>')

  • sjin Profile Picture
    sjin on at
    Re: Resource not found for the segment 'Case Types'

    @EricRegnier How do I get the integer value? I put the GUID of Case Type directory and still failed. Please see the attached file

  • EricRegnier Profile Picture
    EricRegnier 8,705 on at
    Re: Resource not found for the segment 'Case Types'

    Hi @sjin, when setting a choice/optionset field in a Power Automate flow, you'll need to set the value of the optionset item which is an integer value instead of the label. Hope this helps...

     

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

Microsoft Kickstarter Events…

Register for Microsoft Kickstarter Events…

Announcing Our 2025 Season 1 Super Users!

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

Announcing Forum Attachment Improvements!

We're excited to announce that attachments for replies in forums and improved…

Leaderboard

#1
WarrenBelz Profile Picture

WarrenBelz 145,304

#2
RandyHayes Profile Picture

RandyHayes 76,287

#3
Pstork1 Profile Picture

Pstork1 64,703

Leaderboard

Featured topics