Skip to main content
What is the size limitation of a process datafield, type String?

Thanks in advance,

Shawn
As far as I know it's around 1 to 2 GB. But this would obviously have an adverse effect on performance and database size.

Regards,
Ockert
Careful! Ockert you are technically correct. All data fields are stored in a SQL table with data type VarChar so the limit is in the range you mentioned. However you might experience runtime exception in scenarios where K2.net Rules stores data fields in temp variables of String type, I can not think of any of the rules that do this but what I am suggesting is that you take care when doing this. K2.net uses data types as a guideline e.g. if one compare a value with a data field value we need to make sure that we compare it properly, if we work with String it will be good practice to evaluate it Case Insensitive this is but one example of how we rely on data types.

As a best practice apply the same standards on data types in K2.net as you would in VS .NET.

I also want to reiterate Ockert s statement: But this would obviously have an adverse effect on performance and database size

Reply