anchor.diff:  +
   image::6226.png[]
   
  -If you want to view or modify the attachments inside of the task forms, create assignments inside of the task inputs and outputs:
  -
  -. In {CENTRAL}, navigate to your business proces and open it in the Business Process Designer.
  -. Click on a User Task and click image:3140.png[] to open the *Properties* tab.
  -. Next to *Assignments*, click on the empty space and click image:6563.png[]. The *Data I/O* dialog windowue opens.
  -. Next to *Data Inputs and Assignments*, click *Add* and enter the values:
  +.Map Task Inputs and Outputs to the Document Variable
  +If you want to view or modify the attachments inside of the task forms, create assignments inside of the task inputs and outputs.
  +
  +. In Business Central, navigate to your business process and open it in the Business Process Designer.
  +. Click on a User Task and click image:3140.png[] on the right side of the window to open the *Properties* tab.
  +. Next to *Assignments*, click the empty space and click image:6563.png[]. The *Data I/O* dialog window opens.
  +. Next to *Data Inputs and Assignments*, click *Add* and enter the following values:
   +
   --
   * Name: `taskdoc_in`
  
positive.code: This inserts your subform containing an array of Java objects inside the parent form.
  
  
  [id='_attaching_documents_to_a_form']
  === Attaching Documents to a Form
  
  
  Red Hat JBoss BPM Suite enables you to attach documents to a form by using the `Document` form field. To attach a `Document` field to a form, you need to:
  
  * Set the marshalling strategy.
  * Create a document variable.
  * Map the task inputs and outputs correctly to the variable.
  
  .Setting the Marshalling Strategy
  . Set the marshalling strategy in the `_PROJECT_HOME_/META_INF/kie-deployment-descriptor.xml`. You can do so in the {CENTRAL} or by editing the file directly. In {CENTRAL}:
  
  .. In {CENTRAL}, go to *Menu -> Design -> Projects* and click the project name. For example, *Evaluation*.
   .. Click *Settings*.
   .. Click *Project Settings: Project General Settings* -> *Deployment descriptor*.
  .. Under *Marshalling strategies*, click *Add*.
  .. In the *Value* field, click on *Enter Value* and enter: `org.jbpm.document.marshalling.DocumentMarshallingStrategy`.
  .. Set *Resolver type* to *reflection*.
  .. Click *Save* and *Validate* to ensure correctness of your deployment descriptor file.
  +
  Alternatively, if you want to edit `kie-deployment-descriptor.xml` directly, add the `<marshalling-strategies>` tag:
  +
  [source,xml]
  ----
  
negative.code:     </marshalling-strategy>
    </marshalling-strategies>
  ----
  
  .Create a Document Variable in the Process
  After you set the document marshalling strategy, create a document variable in the related process. This variable is required for the document to be visible in the *Documents* tab of the *Process Management* -> *Process Instances* view in Business Central.
  
  . In Business Central, navigate to your business process and open it in the Business Process Designer.
  . Click on the canvas and click image:3140.png[] on the right side of the window to open the *Properties* tab.
  . Next to *Variable Definition*, click the empty space and click image:6563.png[]. The *Editor for Variable Definitions* dialog opens.
  . Click *Add Variable* and enter the following values:
  +
  * Name: `document`
  