Skip to main content
Nintex Community Menu Bar

Code Fix: Cannot connect to the K2 Workflow server

  • October 8, 2021
  • 0 replies
  • 135 views
  • Translate

Issue Description

When you are using Exchange online for sending emails, Exchange online has a limit of 30 email messages per account per minute. This is causing the K2 Server to continuedly retry sending the emails/ K2 Workflow email step. This builds up to the point where all K2 Workflow threads are exhausted resulting in not being able to connect to the K2 Workflow server anymore.

Considerations

If you are encountering this behavior where your K2 Workflow threads are exhausted because of excessive emails being sent through to Exchange online, we recommend that you specify the number of retries.

And we also recommend you to check whether you would like the K2 Workflow to go into error state after the retries all fail or if you would like the K2 Workflow to continue.

These settings are defined in the connection string for the EWS destination.

Edit the ConnectionStringEditor.exe found in the Host ServerBin folder and then select ExchangeWebservicesDestination (username).

Resolution

The fix is available in:

 

  1. Ensure you have the correct K2 version and/or Cumulative update installed. See KB001893 to see what Fix Pack level you have installed.
  2. Download the latest Fix Pack using the links in the table above for the version you require.
  3. Install the Fix Pack to apply the fix.
  4. It is recommended to clear browser cache and refresh the page.
Did this topic help you find an answer to your question?

0 replies

Be the first to reply!

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