Skip to main content
Question

process flow with sub document

  • January 22, 2025
  • 2 replies
  • 30 views

Forum|alt.badge.img+11

Hello

We have an issue for one of our customers, on process flow when we work with sub document.

On their development environment when we create a simple process flow on event on the service order module we add a condition on the “activity” sub document with simple action this is working.

On their test environment and production it fails with an error message : 

 

“Reason: La clé donnée était absente du dictionnaire.
StackTrace:    à System.ThrowHelper.ThrowKeyNotFoundException()
   à System.Collections.Generic.Dictionary`2.get_Item(TKey key)
   à Astea.EO.Workflow.Model.WorkflowRuleBase.<>c__DisplayClass14.<HandleRule>b__12()
   à Astea.Common.Helpers.TrackingScope.Activity(String scopeInfo, Action`1 act, Action`1 info_cb, Action`1 error_cb)”

 

“Key is not present into the disctionary”

 

Do you have already seen this kind of issue ? what could be the cause ?

THanks for your feedback

RGds

Christophe

2 replies

Forum|alt.badge.img+12
  • Superhero (Employee)
  • 112 replies
  • January 22, 2025

Hi Christophe,

There are many possibilities that could go wrong.

I would compare the working and not working one, i.e: single activity vs multiple activities.

The error shows that the system cannot determine the proper key that is being used to link the Order and the Activity. Could be an ambiguous key definition.

Sorry I cannot contribute explanation more specific than this.

 

Regards,

Joshua


Forum|alt.badge.img+11
  • Author
  • Sidekick (Partner)
  • 85 replies
  • January 27, 2025

HI we have been able to solved the issue, it appears that the customer has  several process flow on event on the service order module which are calling the same data enrichment query and the system doesn’t like it apparently. Don’t know if this is a “bug” or not.


Reply


Cookie policy

We use cookies to enhance and personalize your experience. If you accept you agree to our full cookie policy. Learn more about our cookies.

 
Cookie settings