Assigning values to variables in your process version

You will use operation properties to assign values to variables in your process version. You will assign the mortgage amount from the filled form to the LoanAmount variable. You will also deselect the Approved and Declined options to ensure that if the applicant accidently selects these options, they will not be processed.

To map operations to the LoanAmount variable:

  1. In the process diagram, select the Get Form Information operation.
  2. In the Properties view, in the Mappings category, click the plus sign button  . An entry appears in the table.
  3. Click [location], and then click the ellipsis button  that appears beside [Location]. The XPath Builder dialog box appears.
  4. Under process_data, double-click LoanAmount. The text /process_data/@LoanAmount appears in the middle pane.
  5. Click OK.
  6. Click [Expression], and then click the ellipsis button  that appears beside [expression]. The XPath Builder dialog box appears.
  7. In the drop-down list located in the lower-middle pane, select Number.
  8. In the lower-middle pane, double-click Number(object?). The text number(object?) appears in the middle pane.
  9. In the middle pane, select the text Object? so that it is highlighted, and then select Process_data > LoanForm > Object > Data > Xdp > Datasets > Data > MortgageApp > MortgageFields, and double-click Mortgage.

    The following text appears in the middle pane:

       number(/process_data/LoanForm/object/data/xdp/datasets/data/MortgageApp/
       MortgageFields/Mortgage)
    .

    The XPath Builder dialog box should look like this illustration:

    XPath Builder dialog box

  10. Click OK.
  11. Save your process version.

You have assigned the mortgage amount to the LoanAmount variable in your process version. You will use this variable later to route the form appropriately.

To deselect the Approved and Declined options:

  1. With the Get Form Information operation still selected, in the Properties view, in the Mappings area, click the plus sign button  . Another entry appears in the table.
  2. Click [location], click the ellipsis button  beside [location].
  3. Select Process_data > LoanForm > Object > Data > Xdp > Datasets > Data > MortgageApp > ApprovalFields, and double-click Approved. The following text appears in the middle pane:

       /process_data/LoanForm/object/data/xdp/datasets/data/
       MortgageApp/ApprovalFields/Approved
    .

  4. Click OK.
  5. Click [expression], and then click the ellipsis button  beside [expression].
  6. In the middle pane, type "0" and then click OK.

    Note:   Be sure that you type the quotation marks.

  7. Repeat steps 1- 6, but select Process_data > LoanForm > object > data > xdp > datasets > data > MortgageApp > ApprovalFields, and double-click Declined.
  8. Save your process version.

You have deselected the Approved and Declined options in your process version.

Click to continue: Setting operation properties in your process version


Adobe LiveCycle ES Update 1

 

Send me an e-mail when comments are added to this page | Comment Report

Current page: http://livedocs.adobe.com/livecycle/8.2/wb_help/000068.html