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

Announcements

No record found.

News and Announcements icon
Community site session details

Community site session details

Session Id :
Microsoft Dynamics 365 | Integration, Dataverse...
Answered

ODataUnrecognizedPathException Error - at my wits end!!

(1) ShareShare
ReportReport
Posted on by 9
Hi,
 
Below is my current workflow.
 
The purpose of the workflow is the following:
 
Step 1- Trigger of the workflow is the incoming email into a shared mailbox.
Step 2,3 & 4- Set the case number as a variable and trim it down to 16 characters in case the customer has included any additional text other than the CAS number.
Step 5-List rows of cases where the casenumber matches that on the subject of the email, selecting incidentid for later use.
Step 6-List rows of the incoming emails where subject contains the case number I have grabbed from the incoming email
Step 7-Condition if case exists, (set regarding cases value to incidentid):
 
a. Apply to each email where subject contains CAS number grabbed in Step 6.
b. For each case with the incidentid that has been returned in step 5.
c. Regarding value is set to incidentid which I know is valid and present as I confirmed from json logs earlier.
 
 
I know that as far as step 6 is working as I've tested each individual component to ensure all my id's are correct etc.
 
However no matter what value I input into step 7 to set the case regarding value I get the following error:
 
 "error": {
    "code": "0x80060888",
    "message": "URL was not parsed due to an ODataUnrecognizedPathException. Resource not found for the segment provided in the URL."
  }
 
Screenshots below of my workflow.
 
Any help would be much appreciated, I'm new to this!
Screenshot 2024-06-27 170352.png
Screenshot 2024-06-27 170017.png
Screenshot 2024-06-27 170408.png
  • Verified answer
    AC-27061552-0 Profile Picture
    9 on at
    Resolved. No further input required.
  • Anthony Blake Profile Picture
    3,300 Super User 2026 Season 2 on at
    Hi, could you share your solution?
  • Suggested answer
    AC-27061552-0 Profile Picture
    9 on at
    So, to solve this I did the following:
     
    1. Check for when row is added against the email messages table name
    2. Initialize a variable, in my case I called it 'caseNumber'
    3. Set a condition under the following criteria:
         a. Direct is equal to false (this means direction of email is incoming
         b. From does not contain {mailbox domain E.G. sharedmailbox@test.com}
    4. If yes, set variable caseNumber as substring (The substring finds CAS- within the email subject and grabs from 0 to 16 indexes which covers the entire case number)
    5. I then list rows under cases table, selecting column incidentid with a filter of ticketnumber eq caseNumber (caseNumber being the variable from what we set in step 4).
    6. I then do 2 things, I apply to each:
         a. Update a row email message and set 'Regarding (Cases)' to 'incidents(Case)' - Case being the caseId of the incident we grabbed in step 5.
         b. Update a row 2 - table name cases, row ID is unique case identifier and I update the status reason to the custom status reason I created relevant to my company.
     
    End of steps (Not interested if condition is no).

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

Season of Sharing Community Challenge Winners!

Congratulations to our community stars!

Women in Power Builds Momentum

Expanding mentorship, skilling, and AI innovation

Leaderboard > Microsoft Dynamics 365 | Integration, Dataverse, and general topics

#1
11manish Profile Picture

11manish 65 Super User 2026 Season 2

#2
Martin Dráb Profile Picture

Martin Dráb 37 Most Valuable Professional

#3
Travis South Profile Picture

Travis South 24

Last 30 days Overall leaderboard

Product updates

Dynamics 365 release plans