Quantcast
Channel: Metastorm BPM forums
Viewing all articles
Browse latest Browse all 67

Yet another date related problem

$
0
0
V9.2.0

I have a database table with a column of type DateTime.

I have a custom scripted business object with a variable of type Metastorm.Runtime.Types.DateTime to represent the column.

I have a Grid with a column of type DateTime.

And finally I have a field on the form that the Grid is hosted on which is of type DateTime.

So the grid loads the data from the database just fine.

Then in the UserSelectsRow event I assign ProcessContext.UserInput to the local variable the field is assigned to, which is again of type Datetime.

So the common theme here is absolutely everything is set to datetime.

So why when I click on the row do I get an exception? Error converting string to DateTime?

I have discovered it works with a date, say 06/06/2013 but not say 28/06/2013 so it's clearly saying that there aren't 28 months in a year and falling over.

What is puzzling is that this is all on my dev environment so IE9, IIS, SQL Server and the engine all run on the same box.

So any ideas?

Forum: Metastorm BPM 9 Designer


Viewing all articles
Browse latest Browse all 67

Trending Articles