Announcements
No record found.
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 ?
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
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)
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.
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.
Congratulations to our 2026 Super Stars!
We are thrilled to have these Champions in our Community!
These are the community rock stars!
Stay up to date on forum activity by subscribing.
FSRon 75
James White 21
AT-28040446-0 20