Skip to main content

Count Number of Rows

Comments

1 comment

  • David Paras

    1) For each record type create a global variable "varRecordTypeCount". Example: "varHeaderCount"
    2) The value for the varHeaderCount would be defined as count(xpath of record type) Example: count($Input_Schema_Test/Root/record-Header)
    3) Create a global variable "varCount"
    4) Set the value of varCount by adding all the previous global variables together. Example: $varHeaderCount + $varPolicyCount + $varInsuredCount
    5) Now the total number of rows is stored in varCount

    0

Post is closed for comments.