Error(s) in microflow expression - LearnNow Training Management
0
Hi all, I am following the LearnNow Training Management course. In lecture 7.7.1 (Retrieving Your Data), the error ‘’Invalid argument types (Data and Time). Function ‘addDays expects argument types (Date and time, Integer/Long)’’ still occurs, even after placing the Course object before the Change object activity (Otherwise it won’t be in scope for the microflow expression in the Change object activity). Is there someone who can help me in resolving this issue? Thanks in advance.
asked
Fleur Beuting
2 answers
1
The duration is probably of type string, instead of Decimal as it should be
answered
Rene van Hofwegen
0
You made an error in the domain model. You have set the type of Course/Duration to DateTime but it is supposed to be an integer.