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

Notifications

Announcements

No record found.

Community site session details

Community site session details

Session Id :
Service | Customer Service, Contact Center, Fie...
Answered

Generate Work Order from Agreement Booking Date

(0) ShareShare
ReportReport
Posted on by 60

Hello,

I have an issue where I have created an Agreement, and I want to "Generate Work Order" by clicking on the button on the ribbon from an "Agreement Booking Date", But it gives me an error in the system job as shown in the screen shoot "The given key was not present in the dictionary".

Please, How can I fix it or what is the way should I search ?

The given key was not present in the dictionary  

I have the same question (0)
  • Suggested answer
    Claudia Amaral Profile Picture
    on at

    Hello Mahmound,

    On the workflow Process Progress, you can check what is the stage that is failing. On the details tab, you can see more information about the error.

    Usually, when this error - "The given key was not present in the dictionary" it indicates that a lookup field does not contain data and the process needs that data to run.

    Please check if all lookups have values and also required fields.

    Please check also if the issue happens for all records and you can compare the values.

    This is an Out of the Box workflow, so if we don't have customizations in the middle, it should be working.

    If this answer was helpful to you please mark it as an answer. Thank you!

    Thank you for using Microsoft Dynamics CRM Communities. 

    Cláudia Amaral

    Support Engineer 

    Microsoft Dynamics 365

  • Verified answer
    Ali Khan Profile Picture
    1,380 on at

    As @Claudia mentioned, this is OOB process which should never be modified. If you haven't made any changes, I would suggest creating a  support ticket for the issue.

    Please mark as verified if the answer is helpful. Thank you.

    - Ali (I write about D365 Field Service related exciting stuff at https://akhan.me)

  • Mahmoud Amr Profile Picture
    60 on at

    Hi Claudia,

    Thank you for your reply.

    As you said, the problem was i made 3 plugins over the work order entity, when i disabled them, a work order has been generated successfully.

    I will check the sequence of them and i hope it works.

  • Mahmoud Amr Profile Picture
    60 on at

    Hello Claudia

    Please, I have another issue to ask.

    I wonder if I can generate Work Orders from Agreement by passing additional custom fields to the generated work order fields.

    Please, How can i achieve this ?

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

Responsible AI policies

As AI tools become more common, we’re introducing a Responsible AI Use…

Neeraj Kumar – Community Spotlight

We are honored to recognize Neeraj Kumar as our Community Spotlight honoree for…

Leaderboard > Service | Customer Service, Contact Center, Field Service, Guides

#1
Tom_Gioielli Profile Picture

Tom_Gioielli 55 Super User 2025 Season 2

#2
Daniyal Khaleel Profile Picture

Daniyal Khaleel 25 Most Valuable Professional

#3
Soundari Profile Picture

Soundari 15

Last 30 days Overall leaderboard

Featured topics

Product updates

Dynamics 365 release plans