$self is not defined?
In the command line bindings for the tool inputs, $self is set to the value of the input. In other words, in this context $self is just $job.inputs.<input_id>.
According to that documentation, I should be able to use an expression such as "$self || 5" to create a default value of 5. But when doing so, I get this error when trying to run my tool:
This task ran into a problem during execution and did not finish.
So why does it say that $self is not defined?
Posted in API by Nathaniel Watson