I'm using User App 3.5.

I'm trying populate an attribute during the flow with the current time in
seconds. However, none of the getTime() or getDate() type methods in the
ECMAscript defaults are working. I've tried doing this at different
stages of the workflow.

For example, I tried applying getDate() as the Pre Activity and get the
following:

Error Message:
Failed to retrieve data items for provisioning request form.

Error evaluating start data items for Provisioning Request id [cn=createAsset,cn=RequestDefs,cn=AppConfig,cn=idap p-userapp,cn=driverset1,ou=idm,ou=services,o=system] version [48]

Dataitem [CN] with expression [getDate()] failed to evaluate.

Error Evaluating Script

Error Evaluating Script com.novell.soa.script.mozilla.javascript.EcmaError : ReferenceError: "getDate" is not defined.

ReferenceError: "getDate" is not defined.


....any help is greatly appreciated!