yawlfoundation / yawl

Yet Another Workflow Language
http://www.yawlfoundation.org
GNU Lesser General Public License v3.0
88 stars 35 forks source link

"Phantom" decomposition return values #629

Closed malcolm-pro closed 4 years ago

malcolm-pro commented 4 years ago

When creating a decomposition, there appear to be two places where values are enumerate: within <task></task> and also within <decomposition></decomposition>. The latter values are displayed in the workitem Decomposition Variables pane.

We've hit a situation where a completedMapping defined in the former (let's say it maps to the Net-level variable randomNetLevelVar), but not defined as an outputParam in the latter, will not show up in the YAWL editor, but it will attempt to assign a value to that Net-level variable. In this case, given that there's no actual return value, the Net-level variable is emptied of data. Therefore, any downstream workitems that depend on that same variable will, mysteriously, have no data to work with.

test_spec.zip

adamsmj commented 4 years ago

fixed in previous update