Assigning values to variables in your process version

You use operation properties to assign values to variables in your process version. Other operations in your automated process can also use the variables. You will assign the mortgage amount from the filled form to the LoanAmount variable and deselect the Approved and Declined options.

Caution:   The steps listed are dependent on the schema that you embedded in your form design.

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 Add A List Entry  . 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 bottom-middle pane, double-click Number(object?).
  9. The text number(object?) appears in the middle pane.
  10. In the middle pane, select the text Object? so that it is highlighted. With the object? text selected, select Process_data > LoanForm > Object > Data > Xdp > Datasets > Data > MortgageApp > MortgageFields, and double-click Mortgage.
  11. The following text appears in the middle pane:
    number(/process_data/LoanForm/object/data/xdp/datasets/data/MortgageApp/
    MortgageFields/Mortgage)
    .
  12. Click OK.
  13. 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 Add A List Entry  . Another entry appears in the table.
  2. Click [Location], click the ellipsis  button beside [Location]. The XPath Builder dialog box appears.
  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]. The XPath Builder dialog box appears.
  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. This will ensure that if the applicant accidently selects the Approved or Declined option, they will be deselected.


 

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

Current page: http://livedocs.adobe.com/livecycle/es/wb_help/00000453.html