RE: Dynamically Assigning Users to Participants

"Dahl, Greg (BLM) - contr" <[email protected]>
Newsgroups gmane.comp.java.enhydra.shark
Message-ID <A8155E0D38B9D84D88EAC58C2D8F47BA05D7EBF1@blmms060.accounts.root.corp>
The actual error I'm getting is:
 
2005-07-22 09:06:36,248: JavaScriptEvaluator -> The result of expression
UserInGroupOne can't be evaluated - error message="UserInGroupOne" is
not defined.
 
Is there something else I should be setting my script evaluator to in
order to use the ArbitraryExpression?  
 
The text of my original note is below:
 
Greg
 
 
-----Original Message-----
From: Dahl, Greg (BLM) - contr 
Sent: Thursday, July 21, 2005 3:40 PM
To: [email protected]
Subject: [shark] Dynamically Assigning Users to Participants


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
"UserInGroupOne" and ptwo to "UserInGroupTwo".
7. I start the process
 
If I look in the database, a resource of "UserInGroupOne" 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
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.