IDM 4.8 FormBuilder Workflow setting Date
I am trying to set "Login Expiration Time" from a new workflow form but I always get:
2019-11-22 15:46:02,137 ERROR [com.novell.srvprv.impl.vdata.model.VirtualEntityAttribute] (WORKFLOW pool-1-workflow engine-ND-thread-1) [WORKFLOW] Invalid object type for DAL Time attribute: 'LoginExpirationTime' . Must be Java type: java.util.Date
The DAL entity seems to be fine as it works in "old school" workflows. Using a Date / Time control in Form Builder, putting the result into flowdata and using this value did not work. Also trying to convert the value in multiple ways did not help. Any suggestions?
Re: IDM 4.8 FormBuilder Workflow setting Date
if you log the value into a log activity you will receive "20191126092723000+0100" (LDAP format). This is exactly what you see if you log the value within an old workflow.
The longer I think about the more I conclude that the flowdata handling differs between JSON and Old School Forms Workflows. E.g. I set "new java.util.Date()" in a modify entity which didn't throw an error in old workflows but did throw above error in JSON workflows. But there was both times no value invovled which was received from any form. That means the send data of JSON forms is not the problem, does it?