They amount to much the same thing, with a few differences:
- Field injections are controlled through
Expression
types at the class level. - Field Injections dont create local variables
- Input Parameters create local variables
- Field Injection is a older features that does not seem to get much attention, as Input Params basically do all the same things without the complexities of using “Expression”
There is 1 major difference i have found: When using Execution and Task Listeners, and you use a Java Delegate, there is the additional option for Field Injection. This creates a great opportunity for simplifying the amount of variables you create and allow Delegates for Listeners to be configurable through field injection, rather than overloading a activity with Local Variables that are used for configuring the 1 or more listeners