[kepler-users] accsessing the current workflow

Dan Higgins higgins at nceas.ucsb.edu
Fri Mar 10 15:01:24 PST 2006


Hi Srinath,
    The current workflow doesn't really have an ID, but there is a 
concept of containment. All actors at the top level of a workflow (i.e. 
ignoring composite actors which create a hierarchy) have the same 
container. Parameters can be added to the workflow and those parameter 
values can be used by any actor in the workflow using the expression 
language. These parameters act as global variables.
    These shared parameters are usually examined before execution, 
however. They cannot be used to pass dynamic values (ie. values 
calculated when an actor fires).
    There is some discussion of this containment process in the Ptolemy 
users manuals (but I don't remember where).

    Hopefully this is some help.

Dan Higgins
NCEAS

Srinath Perera wrote:

>Hi All;
>
>1) Does Kepler has a ID and a scope for the current workflow? For an 
>example can I have all my actors in a one workflow share same 
>information and have a one scope (like a session)
>
>2) When I am writing a Actor how can I accsess the current workflow ID? 
>(if there is something like that)
>
>Thanks
>Srinath
>_______________________________________________
>Kepler-users mailing list
>Kepler-users at ecoinformatics.org
>http://mercury.nceas.ucsb.edu/ecoinformatics/mailman/listinfo/kepler-users
>  
>


-- 
*******************************************************************
Dan Higgins                                  higgins at nceas.ucsb.edu
http://www.nceas.ucsb.edu/    Ph: 805-893-5127
National Center for Ecological Analysis and Synthesis (NCEAS) Marine Science Building - Room 3405
Santa Barbara, CA 93195
*******************************************************************





More information about the Kepler-users mailing list