Hi Christian: That is a a problem in the documentation. Workflow ids are recognized (in the command-line tool) *only* in queue entries (i.e. when CLI is processing a queue). The general idea is that workflow Ids are transient, system-private identifiers, and should generally not be exposed. But in restricted circumstances (like deferred operation in queues), they are the only means of identifying an item.
But it's not true that tasks extending AbstractCurationTask can't work with workflow objects. For instance, any task that is wired into workflow calls 'perform(DSpaceObjects dso)', not 'perform(Context ctx, String id)' The 'perform(Context, id) signature is really (with the exception of 'all' for the whole site) meant for public IDs like handles. I'll try to correct the documentation: thanks for pointing it out, and sorry for the confusion, Richard On Mar 21, 2014, at 9:06 AM, Christian Scheible wrote: > Hi together, > > I'm currently working on a curration task and found a Problem in the > documentation/implementation of Curration Tasks. In > https://wiki.duraspace.org/display/DSDOC4x/Curation+System#CurationSystem-Onthecommandline > > it says that it's possible to use workflow Id as identifiers. But all > CurrationTasks which extend AbstractCurrationTask can't work with > workflow id's because public int perform(Context ctx, String id) > dereferences to null for all id's which are no handles. > Is this a bug or should the documentation be clarified? > > Best > Christian > > P.S. I am not allowed to change this part of the documentation > > ------------------------------------------------------------------------------ > Learn Graph Databases - Download FREE O'Reilly Book > "Graph Databases" is the definitive new guide to graph databases and their > applications. Written by three acclaimed leaders in the field, > this first edition is now available. Download your free book today! > http://p.sf.net/sfu/13534_NeoTech > _______________________________________________ > DSpace-tech mailing list > [email protected] > https://lists.sourceforge.net/lists/listinfo/dspace-tech > List Etiquette: > https://wiki.duraspace.org/display/DSPACE/Mailing+List+Etiquette ------------------------------------------------------------------------------ Learn Graph Databases - Download FREE O'Reilly Book "Graph Databases" is the definitive new guide to graph databases and their applications. Written by three acclaimed leaders in the field, this first edition is now available. Download your free book today! http://p.sf.net/sfu/13534_NeoTech _______________________________________________ DSpace-tech mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/dspace-tech List Etiquette: https://wiki.duraspace.org/display/DSPACE/Mailing+List+Etiquette

