Dynamically Assigning Users to Participants
"Dahl, Greg (BLM) - contr" <[email protected]>
| Newsgroups | gmane.comp.java.enhydra.shark |
|---|---|
| Message-ID | <A8155E0D38B9D84D88EAC58C2D8F47BA05D7EB6C@blmms060.accounts.root.corp> |
I'm trying to use the ArbitraryExpressionPerformer. Here is what I've done so far: 1. Created a process and defined two activities. Both of these activities are in the "default" ArbitraryExpression "swimlane" 2. Created two process variables under JAWE's Workflow RelevantData tab called "pone" and "ptwo" - both are Basic Type - String 3. Under JAWE's activities tab, I assigned pone to be the performer of activityone and ptwo to be the performer of activitytwo 4. The script type for the package properties is set to text/javascript 5. I changed the Shark.conf file as follows, commenting out the default and adding the new one: #AssignmentManagerClassName=org.enhydra.shark.assignment.StandardAssignm entManager AssignmentManagerClassName=org.enhydra.shark.assignment.XPDLStraightPart icipantMappingAssignmentManager 6. I create the process and assign the process variable pone to "UserOne" and ptwo to "UserTwo". 7. I start the process If I look in the database, a resource of "UserOne" has indeed been created for the first activity. But that resource doesn't seem to be connected to the user called "UserOne". If I look at UserOne in the admin tool, using they have no tasks. My server is throwing a "Expression can not be evaluated" error - is there something I missed in trying to use the ArbitraryExpressionPerformer??? I've looked through the archives and managed to figure out these steps, but found no information that would indicate what the problem is. Thanks for your time, Greg ******* Confidentiality Notice ******* This email, its electronic document attachments, and the contents of its website linkages may contain confidential health information. This information is intended solely for use by the individual or entity to whom it is addressed. If you have received this information in error, please notify the sender immediately and arrange for the prompt destruction of the material and any accompanying attachments.
message-footer.txt
(text/plain, 271 B)
-- You receive this message as a subscriber of the [email protected] mailing list. To unsubscribe: mailto:[email protected] For general help: mailto:[email protected]?subject=help ObjectWeb mailing lists service home page: http://www.objectweb.org/wws