Hi,
form is not getting opened and displays the below error:
Error Evaluating UI ExpressionExpression evaluation error [evaluation ID = 74a54:998fd] in rule 'fpl_frm_etmf_upload_doc_readonly' at function a!forEach [line 427]: Error in a!forEach() expression during iteration 3: Expression evaluation error at function rule!DMD_UT_FormatDate [line 443]: Could not cast from Time to Date. Details: CastInvalidCould not cast from Time to Date. Details: CastInvalid
The rule!DMD_UT_FormatDate is having the formation as
if(isnull(ri!dtDate),ri!dtDate,text(ri!dtDate,"dd-mmm-yyyy"))
The parameter dtDate is a date field.
Could someone tell me why user is getting this error.
Thanks
Faisal
Discussion posts and replies are publicly visible
Faisal H Faridi said:The parameter dtDate is a date field.
Even though you have mentioned this, I doubt the same as Sanchit said. Can you check if the data type of this rule input is of type date?If yes, then you can debug by removing the text() function and letting the raw output come out. In the 3rd iteration, see what type of value the rule in returning.