Dear Jose, The Boolean Multiplexor needs to have data on all ports to work, which is probably why yours is not working. The documentation for that actor says:
"The actor must receive tokens on all ports. Each time the actor fires, it reads one token from each of its input ports and outputs the selected token." There is a short article on how to do conditional execution in the September 2008 newsletter: Conditional Routing and Execution in Kepler https://dev.kepler-project.org/users/newsletter/2008-09-kepler-news.pdf You should be able to do what you want following those examples, although note that BooleanSwitch won't work with the SDF director. You'll need to choose another, like possibly the DDF director. Matt 2009/1/26 Jos? Rom?n Bilbao Castro <jrbcast at gmail.com>: > Hi all, > > I want to do this: > > My workflow accepts an input port. Within the workflow I can do two > different things: > > a) If the input parameter has a value do something > b) else if the input parameter has nothing (i.e. is not connected), do > something. > > I have been trying to use boolean expressions (IsPresent) and a logical > multiplexor > but when the input port is not connected I get an error I can not solve. > > Please find attached the workflow, try to remove the external input port > parameter to > see the problem > > Cheers, > > Jose. > > > > > =============================== > Jos? Rom?n Bilbao Castro, PhD > Dept. Arquitectura de Computadores y Electr?nica > Edif. CITE III. > Universidad de Almer?a > La Ca?ada de San Urbano, 04120 > Almer?a (Spain) > jrbcast at gmail.com > =============================== > > > > > > > _______________________________________________ > Kepler-users mailing list > Kepler-users at kepler-project.org > http://mercury.nceas.ucsb.edu/kepler/mailman/listinfo/kepler-users > > -- ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ Matthew B. Jones Director of Informatics Research and Development National Center for Ecological Analysis and Synthesis (NCEAS) UC Santa Barbara jones at nceas.ucsb.edu Ph: 1-907-523-1960 http://www.nceas.ucsb.edu/ecoinfo ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~

