M.App Enterprise Discussions

Discuss topics with other M.App Enterprise Product pioneers and experts to get the most out of it.
Showing results for 
Search instead for 
Do you mean 
Reply
Highlighted
Frequent Contributor
Posts: 123
Registered: ‎07-25-2018

Workflow Error -The given key was not present in the dictionary

Hello Team,

 

I get an error on workflow submission.

"The given key was not present in the dictionary".

 

I have attached a screen shot of the error.

 

How can i fix this?

 

 

Regards,

Sreedevi

Highlighted
Frequent Contributor
Posts: 123
Registered: ‎07-25-2018

Re: Workflow Error -The given key was not present in the dictionary

Hi,

 

Can anyone please help me out here.

 

The workflow i have has some fields persisted and other field non persisted.

All the non persisted fields are submitted using triggers and Persisted fields are submitted using save keyword in submit button.

 

Key field is the primary key of the table and its integer value.

Data type of the fields in the form matches with the data type in the table.

 

There is no background map as we have only the workflow which is loaded on the browser.

 

 

How do I troubleshoot this issue?

 

Regards,

Sreedevi

 

 

 

 

 

Highlighted
Contributor
Posts: 75
Registered: ‎02-19-2019

Re: Workflow Error -The given key was not present in the dictionary

Hi Sreedevi ,

 

Please reset your IIS , It could be resolve your issue. 

 

Process: Open command prompt as a Administrator mode and write IISRESET then enter.

 

Thanks,

Liton

Highlighted
Staff
Posts: 1,054
Registered: ‎10-18-2015

Re: Workflow Error -The given key was not present in the dictionary

hi Sreedevi,

 

please post your workflow configuration (you can copy the xml definition from the warehouse within the tenant folder).

Please post also the full stacktrace. Would be beneficial also the table definition.

 

If IIS restart solves the issue, it would worth investigating the issue, since it may lead to additional errors.

 

Stefano

 

Stefano Turcato
Presale Engineer
Hexagon Geospatial