Closes and finishes an activity. Call this method when the
activity is successfully completed.
An attribute mapping should be passed when this method is called.
This is a (String , Object ) mapping of
variables names (as used in edge weight expressions) and Java objects.
The Java objects should be understandable by the underlying BSF
engine being used (for JavaScript, Boolean ,
Integer and String are known to work).
The attributes provided will overwrite current set attributes and
the value of these attributes will be used when evaluating edge
weights.
Parameters: attributes - the attributes mapping. true if the activity is succesfully opened,false otherwise. exception: SetAttributeException - if the underlying expressionevaluation system has problems setting an attribute. exception: EvaluationException - if an expression evaluation erroroccurs. If this exception is thrown the state of the casemay be left inconsistent. exception: PersistenceException - if an error occours when making theexecution of this method persistent. |