Rienk van der Ploeg schrieb: > Hi all, > > I am exploring the different SOAP methods. > One of them is: getWorkflowIdList. > The online description of this method is: > > getWorkflowIdList( apachesoap:Map filterStrings, xsd:string user-name, > xsd:string password ) [getWorkflowIdList] => Returns a list of ids that match > the provided filters. For documentation of the filter syntax... ask tom
Hi, the SOAP interface uses the same style of filter declaration as webswamp. These filterstrings get mapped to internal filters which then generate the sql statements. Some documentation is in the javadoc of the mapper class (de.suse.swamp.core.util.MapToFilterlist): * @param data - Hashmap with key: filteridentifier, key: value of filter * X means that more than one filter of that type are possible, each marked * with another integer. * Examples: * key: systemfilter_wftemplate - value: WorkflowTemplate name (comma seperated list) * key: systemfilter_parentid - value: id of parent workflow * key: systemfilter_wfclosed - value: true | false * key: systemfilterX_nodeActive - value: name of the node * key: systemfilterX_nodeNotActive - value: name of not active node * * key: systemfilterX_databit - value: databitpath * key: systemfilterX_bitvalue - value: value to match with * key: systemfilterX_bitregex - value: regexp to match with * * key: systemfilterX_role - value: rolename * key: systemfilterX_rolevalue - value: value to match with * * key: systemfilter_hasactivetasks - value: true * key: systemfilter_taskowner - value: username * key: systemfilter_mandatorytasksonly - value: true/false > > In other words: can anybody tell me how to select a list of available flows > for a particular user using the SOAP interface? You can filter for users in a role, users that have a task assigned or that are just stored in a databit. > Tom?! Hope that helps. Greetings -- Thomas Schmidt (tschmidt [at] suse.de) SUSE Linux Products GmbH :: Research & Development :: Internal Tools "Computers are useless. They can only give you answers.", Pablo Picasso _______________________________________________ swamp-devel mailing list swamp-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/swamp-devel http://swamp.sf.net