Re: {Spam?} Dynamically Assigning Users to Participants

[email protected]
Newsgroups gmane.comp.java.enhydra.shark
Message-ID <OF6C0CD879.6FA592A1-ON85257045.00738A1D-85257045.0073C2C8@intellicare.com>
Greg,

Maybe you can place a break point in the class throwing the exception and 
see which expression is the one Shark is complaining about..?

Geeta




"Dahl, Greg (BLM) - contr" <[email protected]> 
07/21/2005 04:40 PM
Please respond to
[email protected]


To
[email protected]
cc

Subject
{Spam?} [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.StandardAssignmentManager 

 
AssignmentManagerClassName=org.enhydra.shark.assignment.XPDLStraightParticipantMappingAssignmentManager
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. 

-- 
This message has been scanned for viruses and 
dangerous content by MailScanner, and is 
believed to be clean. 
--
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


CONFIDENTIALITY NOTICE:This email is intended solely for the person or 
entity to which it is addressed and may contain confidential and/or 
protected health information.  Any duplication, dissemination, action 
taken in reliance upon, or other use of this information by persons or 
entities other than the intended recipient is prohibited and may violate 
applicable laws.  If this email has been received in error, please notify 
the sender and delete the information from your system.  The views 
expressed in this email are those of the sender and may not necessarily 
represent the views of IntelliCare.
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.