Skip to main content
Nintex Community Menu Bar

K2 5.3 Workflow: System.string[] returned instead of String

  • June 5, 2020
  • 1 reply
  • 30 views
  • Translate

I am using Exchange Mailbox Service Broker to read emails from Shared Mailbox

https://community.k2.com/t5/K2-blackpearl/Exchange-Mailbox-Service-Broker/bc-p/116193

 

While this broker works fine for a UI View, but when same data is fetched from Workflow, apart from ItemId, rest of the fields are returned as System.string[].

 

Please see attached document for more details.

 

What is causing this behaviour?

 

Thanks!

Did this topic help you find an answer to your question?

1 reply

Forum|alt.badge.img+8

I tried this every way you can possibly imagine.  It doesn't work.  My understanding is that it's because there is no primary key when you're reading the list of emails from the service broker...at least that's how someone explained it to me.

 

I gave up after a while.  

 

You can read the emails individually, though.  So, you can loop through the list of emails, reading one at a time rather than putting the whole list into a reference.  

Translate

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