K2 Asynchronous call response slowly

  • 1 September 2014
  • 1 reply
  • 2 views

Badge +1

Hi,

 

We are facing two issues :

 

1. We are calling K2 process from the ASP.NET Asynchronously. Once the K2 process is called first activity has smartobject call which updates the database.After this database update from K2 Process some action happens on the ASP.Net form.

 

But the issue that we are facing is the delay in database update (through WCF EndPoints Service)  from K2 Process.After calling K2 Process ASP.NET actions get triggered which totdally depends on the update to database from K2.As the database update is not happened from the K2 Process the ASP.NET action fails.

 

2. We have  a smartObject which updates a processID to the database using WCF EndPoint service. This works fine in Development machine. When we did deployment in QA this smartObject is not working from within 'kprx'.The error message that we get at all the logs is - 'Key not found in collection'. When we tested this SmartObject from Tester Utitility it works fine it updates the database record but does not work from kprx. We tried to create SameSamrtObject with using same GUID manually but still we are getting same error. This is not happening with other smartObjects. When we removed this smartObject from 'kprx' and deployed 'kprx' again then 'kprx' works fine.

The 'kprx' with containing this smartOjbect works fine in Dev.We are using appropriate GUID also still issue is there.

 

Please help on these issue.

Thanks.

 


1 reply

Badge +10

Not sure what you can do, about the first issue other than put in a further delay. Issue two, I have found this happend when you change the properties of a smartobject, especially when you rename or change the order of the property. May have to refresh smartobejct call in the kprx file and try redeploying the kprx file in QA.

Reply