목록 워크플로우 데이터 오브젝트의 입력 맵핑 및 색인화된 항목

루프에 포함된 활동에서 목록 워크플로우 데이터 오브젝트의 항목은 정규 매개변수 필드를 채우기 위해 입력 맵핑에 사용될 수 있습니다. 이러한 유형의 입력 맵핑을 사용할 경우 활동을 포함하는 루프가 반복될 때마다 정규 매개변수 필드는 목록 워크플로우 데이터 오브젝트의 다음 값으로 채워집니다. 이러한 맵핑의 메타데이터 구문은 다른 입력 맵핑 유형 구문과 조금 다를 수 있으므로 여기서 강조표시하여 보여 줍니다. 다음 메타데이터 스니펫에서는 이러한 입력 맵핑을 예로 들어 보여 줍니다. 정규 매개변수 필드를 채우는 데 사용되는 목록 워크플로우 데이터 오브젝트의 이름은 [Context_Loop.loopCount] 구문으로 규정됩니다. 이는 런타임에 워크플로우 엔진이 실행할 루프 반복과 정규 매개변수 필드를 채우는 데 사용할 데이터를 검색하기 위해 목록 워크플로우 데이터 오브젝트의 항목을 판별하는 데 사용됩니다.

<automatic-activity id="1" category="AC1">
    ...

    <bpo-mapping
      interface-name="curam.sample.facade.intf.SampleBenefit"
      method-name="retrieveClaimantDependentDetails">
      <formal-parameters>
        <formal-parameter index="0">
          <struct type="curam.sample.struct.
                        ClaimantDependentDetails">
            <field name="identifier">
              <base-type type="INT64">
                <wdo-attribute name="identifier"
                wdo-name=
                  "ClaimantDependent[Context_Loop.loopCount]"/>
              </base-type>
            </field>
            <field name="fullName">
              <base-type type="STRING">
                <wdo-attribute name="fullName"
                wdo-name=
                  "ClaimantDependent[Context_Loop.loopCount]"/>
              </base-type>
            </field>
          </struct>
        </formal-parameter>
      </formal-parameters>
    </bpo-mapping>
  </automatic-activity>