ObjectWeb Consortium
Search ObjectWeb Mail Archive: 

Advanced Search - Powered by Google


Mail Archive Home | enhydra List | December 2004 Index

<--  Date Index  --> <--  Thread Index  -->

Need help with changing variables in workflow process


Hello, 

   I'm currently prototyping the SHARK wf for use in a commercial project
for education.

I've defined a workflow process that has some workflow relevant attributes
specified.
(like    MyAttributeKey     type =Boolean     etc
 

In some activities   I have specified ExtendedAttributes  
(like name=VariableToProcess_UPDATE   value=MyAttributeKey)

I'm trying to change the value variable MyAttributeKey from my java
application using the following code
        
 
adminInterface.getAdminMisc().getActivitiesExtendedAttributeValue(processId,
activityId, "MyAttributeKey");
        Map map = new HashMap();
        map.put("MyAttributeKey", value);
        assignment.activity().set_result(map);

Now the first line throws an exception stating that there is no such
attribute.

I could not find a proper description in the documentation on how to specify
and change extended attributes  and / formal parameters  that worked for me.

I tried to specify Formal parameters, I could access and change them using
the set_Process_context(..) method but those changes are not persisted (not
even after calling complete() on the activity. 
I really need a good "how to" document to be able to do this.

Can you help me?  Thanks in advance,

Kind regards/
Met vriendelijk groet,

Jan van de Klok

Chronotech B.V.
Europark 14
4904 SX Oosterhout

Tel   : 0162 452000
Fax  : 0162 452020




<--  Date Index  --> <--  Thread Index  -->

Reply via email to:

Powered by MHonArc.

Copyright © 1999-2005, ObjectWeb Consortium | contact | webmaster.