Workspace 6.21.5
|
The TryInputs operation, similar to the SelectInput operation, is an operation that allows dynamic branch selection (aka switching) on the Workspace. Instead of specifying which branch will be executed at run time, the TryInputs operation tries to update the first element connected to its Inputs input. If this branch updates successfully, it simply outputs its results. If it fails to update, the operation will try the next element in its Inputs input. It will continue to try inputs in this order until it has exhausted the list, at which point it will report failure. In this way, the TryInputs operation can be very useful at setting up "fail safe" or "exception" functionality in a Workflow.
Inputs: | |||
---|---|---|---|
Log failed attempts | bool | If enabled, the operation will log information about each failed update as it attempts them. | |
Inputs | Array Modified-in-place | CSIRO::DataExecution::Dependency | |
Outputs: | |||
Data | CSIRO::DataExecution::Dependency |