User Application 4.0.1

I want to set or modify the users LoginExpirationTime attribute for a
user using the workflow.

I have one workflow with the below details

1) I added the LoginExpirationTime attribute in DAL with UI Control
as
Data Type:Time
Format Type: DateTime
2) In the Workflow has the field as
FormFieldName | Data Type | Control Type
AccountExpirationDate | time | DateTimePicker

3) In the Entity activity i have the entry as

Modify type | Modify Value Expression
| Target Attribute
Replace value |
flowdata.get('Start/modify_user/AccountExpirationDate')); |
LoginExpirationTime

With this i am getting error.

gs:2041, Activity: Start, Recipient: cn=admin,ou=Services,o=demo
2013-01-08 15:31:41,846 INFO [STDOUT] (pool-13-thread-3) ERROR [RBPM]
[com.novell.srvprv.impl.vdata.model.VirtualEntityAt tributearseInboundAttributeValue]
Invalid object type for DAL Time attribute: 'LoginExpirationTime' . Must
be Java type: java.util.Date
2013-01-08 15:31:41,846 INFO [STDOUT] (pool-13-thread-3) 5222108037
[pool-13-thread-3] ERROR
com.novell.srvprv.impl.vdata.model.VirtualEntityAt tribute - Invalid
object type for DAL Time attribute: 'LoginExpirationTime' . Must be Java
type: java.util.Date
2013-01-08 15:31:41,847 INFO [STDOUT] (pool-13-thread-3) INFO [RBPM]
[com.novell.soa.af.impl.LogEvent:logAFEvent] [Provision_Failure]
Initiated by System, Process ID: 8801fd18373b421a968db0be4c357b4d,
Process Name:
cn=ModifyUser,cn=RequestDefs,cn=AppConfig,cn=UserA pplication,cn=demo-DriverSet,ou=IDM,ou=Services,o=demo:2041,
Activity: Activity, Recipient: cn=admin,ou=Services,o=demo
2013-01-08 15:31:41,884 INFO [STDOUT] (pool-13-thread-3) 5222108037
[pool-13-thread-3] INFO com.novell.soa.af.impl.LogEvent -
[Provision_Failure] Initiated by System, Process ID:
8801fd18373b421a968db0be4c357b4d, Process Name:
cn=ModifyUser,cn=RequestDefs,cn=AppConfig,cn=UserA pplication,cn=demo-DriverSet,ou=IDM,ou=Services,o=demo:2041,
Activity: Activity, Recipient: cn=admin,ou=Services,o=demo
2013-01-08 15:31:41,893 INFO [STDOUT] (pool-13-thread-3) ERROR [RBPM]
[com.novell.soa.af.impl.LogEvent:logError] [Workflow_Error] Initiated by
cn=admin,ou=Services,o=demo, Error Message: Invalid object type for DAL
Time attribute: 'LoginExpirationTime' . Must be Java type:
java.util.Date, Process ID: 8801fd18373b421a968db0be4c357b4d, Process
Name:
cn=ModifyUser,cn=RequestDefs,cn=AppConfig,cn=UserA pplication,cn=demo-DriverSet,ou=IDM,ou=Services,o=demo:2041,
Activity: Activity, Recipient: cn=admin,ou=Services,o=demo
2013-01-08 15:31:41,932 INFO [STDOUT] (pool-13-thread-3) 5222108084
[pool-13-thread-3] ERROR com.novell.soa.af.impl.LogEvent -
[Workflow_Error] Initiated by cn=admin,ou=Services,o=demo, Error
Message: Invalid object type for DAL Time attribute:
'LoginExpirationTime' . Must be Java type: java.util.Date, Process ID:
8801fd18373b421a968db0be4c357b4d, Process Name:
cn=ModifyUser,cn=RequestDefs,cn=AppConfig,cn=UserA pplication,cn=demo-DriverSet,ou=IDM,ou=Services,o=demo:2041,
Activity: Activity, Recipient: cn=admin,ou=Services,o=demo


Any idea how to fix it?


--
lvaradha
------------------------------------------------------------------------
lvaradha's Profile: https://forums.netiq.com/member.php?userid=226
View this thread: https://forums.netiq.com/showthread.php?t=46495