Context Upload

Context Upload is used to map any field of a layout to the Process Flow Context Variable. Once the variable is set in process flow context, it can be used by any activity in the Process Flow.

Context Upload variables can be created for all types of layout. In case of XML layout, only those XML layouts, which are created by uploading XSD file, or DTD file (with Convert to XSD option enabled) can be used to create Context Upload variables.

Steps to create Context Upload:

  1. Click Configure > OTHERS > Context Upload.

  2. Click Create Context Upload.



  3. Enter the name and description for Context Upload in the in the Name and Description fields.
  4. Select the layout activity from the Schema Name drop-down list.

  5. To define the context variable, click the Define context variable(s) button. The Map Context Variable screen is displayed.



  6. Expand the selected layout by clicking [+]. All fields of selected schemas are displayed.
  7. Enter a name for the context variable in the textbox Variable Name.
  8. Select the layout element that you want to map with the above defined variable. The XPath of the selected element is displayed in the textbox Mapping.

    The Context Upload variable accepts only string and list as parameters. When it is used in a process flow, then you need to specify the XPath value. If you select 'String' as the Data Type property, then the first XPath value is used.

  9. Click the Apply button. Value of the selected layout element is displayed in the textbox Variable Value.
  10. Repeat step 7 to 10 to map the context variable with other elements.
  11. Click OK to return to the Create Context Upload screen.

  12. Expand the Advanced Properties section and select the Project from Project drop-down list.

  13. Click Save.