kanwarnitin
Design Dabbler

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

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!

0 Kudos
Reply
1 Reply
Robert_Nicholas
Nintex Newbie

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

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.  

0 Kudos
Reply