com.smartgwt.client.docs

## Interface TaskIO

-     public interface TaskIO

  ### Task Input / Output

  Each task has inputs, which can be thought of as copied from the `Process state` when the task is started, and outputs, which can be thought of as atomically applied to the Process state when a task is completed.

  Task can use `inputField` to specify the field from the Process state that should be used as inputs, and `outputField` to specify the field from the Process state that the task should output to.

  More complex tasks can take multiple fields from the process state via `inputFieldList` and write to multiple fields of the process state via `outputFieldList`. In this case, the task is said to have an "input Record" and/or "output Record", which can be thought of as a copy of the process state Record with only the fields listed in the `inputFieldList` are copied.

  When both `inputField` and `inputFieldList` are specified, the inputField is considered the "primary" input field and will be used automatically by various Task subclasses.

  See Also:
    `ScriptTask.getInputData()`, `ScriptTask.setOutputData(java.lang.Object)`, `ScriptTask.getInputRecord()`, `ScriptTask.setOutputRecord(com.smartgwt.client.data.Record)`, `ServiceTask.getCriteria()`