com.smartgwt.client.docs

## Interface TaskInputExpression

-     public interface TaskInputExpression

  ### Task Input Expressions

  In some tasks, the input to the task needs to be passed to a service being called by the task, to a user-visible form, or other consumers of the input data. A TaskInputExpression can be used to do this declaratively.

  A TaskInputExpression is a String prefixed with either "$input" or "$inputRecord", followed by an optional dot-separated hierarchical path, which can specify either an atomic data value (String, Number) or Record from the input data. For example, if the `state` represented in JSON were:

        {
           orderId:5,
           orderItems: [
              {name:"Pencils", quantity:3, itemId:2344}
           ],
           orderUser: { name:"Henry Winkle", address:"...", ... }
        }

  .. and a task specified an `inputField` of "orderId" and an inputFieldList of "orderItems","orderUser", then:
  - $input is the value 5
  - $inputRecord.orderUser.name is "Henry Winkle"
  - $inputRecord.orderItems[0] is the first orderItems Record ({name:"Pencils", ... })