Does K2 process data support arrays or structures?

  • 31 March 2005
  • 2 replies
  • 0 views

Badge
I have to send emails and assign tasks to multiple people. The number of people is not known until runtime. I would like to set a data field array with all of the users and then loop through the array later in the process. Can I do this? Right now, I'm storing the user id of each user in a string datafield seperated by a ',' and then splitting on the comma later. This is ugly. I'd like to utilize a better method. Thanks.

2 replies

Badge +8
K2.net also features XML datafields which should do nicely for your needs
Badge +4
Ditto on the XML idea.

My process uses Infopath as sort of an "invoice" form where any number of items can be added into a "repeating table". The "repeating table" simply allows the user to enter multiple "sections" of identically structured XML.

Later on, I send an e-mail out with a block of data for each of the "line items".

I do something very similar in another process where I allow the end users to send e-mails with different content to. They can enter as many different "messages" as they want and each one can go to one or more recipients.

Reply