Hi,

I want to start a workflow from a workflow, selecting the name of the
workflow to start from flowdata.

If I start the workflow from the "Start workflow" activity selecting it
manually form the ECMA Expression builder, I can select the workflow
name and it works fine.
The values of the propertie "provisionning request defn to start" is
only : "workflow-name"

Successful Log file :

2013-01-16 11:59:58,196 INFO [STDOUT] (pool-13-thread-8) INFO [RBPM]
[com.novell.soa.af.impl.LogEvent:logAFEvent] [Workflow_Forwarded]
Initiated by System, Process ID
: 2da9e54ca093457c96db2293ddcc8ac6, Process Name: cn=Resource request
v2,cn=RequestDefs,cn=AppConfig,cn=User
Application,cn=driverset1,o=system:19, Activity: Activi
ty4, Recipient: cn=uaadmin,ou=sa,o=data
2013-01-16 11:59:58,300 INFO [STDOUT] (pool-13-thread-8) INFO [RBPM]
[com.novell.soa.af.impl.LogEvent:logStartCorrelated WorkFlowEvent]
[Start_Correlated_Workflow] Ini
tiated by cn=uaadmin,ou=sa,o=data, Process ID:
2da9e54ca093457c96db2293ddcc8ac6, Process Name: cn=Resource request
v2,cn=RequestDefs,cn=AppConfig,cn=User Applicatio
n,cn=driverset1,o=system:19, Recipient: cn=bjenner,ou=users,o=data,
Correlated Process Name:
cn=ithelpdesk1,cn=RequestDefs,cn=AppConfig,cn=User
Application,cn=driverset
1,o=system, Correlated Process ID: b663943ebf7d45efaafa4c4a7b67ebd9,
Correlation ID:
UserApp#UserStartWorkflow#5f0b91b2-f51c-47fd-976d-86b21be46b41


Then I want to select the workflow name by setting "provisioning request
to start" = IDVault.get(flowdata.get('ithelpdesk1') , 'Resources',
'CN') which return the right CN of the workflow I get an error message.


Error log file :

2013-01-16 16:26:02,775 INFO [STDOUT] (pool-13-thread-8) INFO [RBPM]
[com.novell.soa.af.impl.LogEvent:logAFEvent] [Workflow_Forwarded]
Initiated by System, Process ID
: a11fed840ee847b78515601c54c56471, Process Name: cn=Resource request
v2,cn=RequestDefs,cn=AppConfig,cn=User
Application,cn=driverset1,o=system:67, Activity: Activi
ty4, Recipient: cn=uaadmin,ou=sa,o=data
2013-01-16 16:26:02,853 INFO [STDOUT] (pool-13-thread-8) ERROR [RBPM]
[com.novell.soa.af.impl.LogEvent:logError] [Workflow_Error] Initiated by
cn=uaadmin,ou=sa,o=data,
Error Message: Process requestId [afa1cb167c1c4aa39764be51d0d7bc0f], Id
[cn=ithelpdesk1,cn=RequestDefs,cn=AppConfig,cn=User
Application,cn=driverset1,o=system]: Error
evaluating data items., Process ID: a11fed840ee847b78515601c54c56471,
Process Name: cn=IMD Resource request
v2,cn=RequestDefs,cn=AppConfig,cn=User Application,cn=driver
set1,o=system:67, Activity: Activity9, Recipient:
cn=uaadmin,ou=sa,o=data

The CN of the workflow looks the same in the log, but there is an error
..

Any idea ?

Btw, does anyone know how to get more details in the log file ?

Thanks

Sylvain


--
sma
------------------------------------------------------------------------
sma's Profile: https://forums.netiq.com/member.php?userid=174
View this thread: https://forums.netiq.com/showthread.php?t=46565