[kepler-dev] workflow execution id?
pea1 at cornell.edu
Thu Jul 3 08:06:34 PDT 2008
I pondered the same question a while ago, in the context of remotely
executing workflows. Here's what I did when executing workflows
programmatically (not through the Kepler UI):
MoMLParser parser = new MoMLParser();
URL url = new URL(<workflow URL>);
CompositeActor toplevel = (CompositeActor) parser.parse(null, url);
toplevel.setName(<some unique ID>);
Taking this approach, the unique ID becomes part of the the value for
any NamedObj in the workflow when you use NamedObj.getFullName().|
Hope this helps.
|ben leinfelder wrote:
> Hi devs,
> I'm wondering if anyone knows if there is a way to uniquely identify a
> workflow execution. My goal is to place various R actor output
> (graphic files, text files, etc...) generated during a workflow
> execution into a folder for that run of the workflow. I've played
> around with the Workspace "version" and also the Director "start time"
> but neither of those seem to meet my needs.
> Any suggestions are appreciated.
> (I'm trying to tread lightly (or not at all) on the provenance work
> being done)
> Kepler-dev mailing list
> Kepler-dev at ecoinformatics.org
-------------- next part --------------
An HTML attachment was scrubbed...
More information about the Kepler-dev