Home

Results 1 to 2 of 2

Thread: Reading values from Post Activity of Integration Activity

Threaded View

  1. #1
    Join Date
    Jun 2015
    Posts
    36

    Reading values from Post Activity of Integration Activity

    I am working on a workflow that that creates a resource and assigns an entitlement to the resource. In order to do this, I need to populate the following two attributes of the createResource request:

    Code:
    Envelope/Body/createResourceRequest/resource/entitlementRef/nrfentitlementref/entitlementDn
    Envelope/Body/createResourceRequest/resource/entitlementRef/nrfentitlementref/entitlementParameters
    The only way I know how to get the needed entitlement information is to first call an integration activity that calls the getEntitlementCodeMap service and then parse the results.

    I am not sure how to parse the results in the Post Activity. I should be receiving multiple values back but I only see one value or I am just parsing incorrectly. Below is the response xml from getEntitlementCodeMap:

    Code:
       <ser:getCodeMapValuesResponse>
          <!--Optional:-->
          <ser:result>
            <!--Zero or more repetitions:-->
            <ser:codemapvalue>
              <ser:codeMap>?</ser:codeMap>
              <ser:codeValue>?</ser:codeValue>
              <ser:description>?</ser:description>
              <ser:displayName>?</ser:displayName>
              <ser:paramValue>?</ser:paramValue>
              <ser:subType>?</ser:subType>
              <ser:valueId>?</ser:valueId>
            </ser:codemapvalue>
          </ser:result>
        </ser:getCodeMapValuesResponse>
    Any help is appreciated.
    Last edited by joelburke; 03-Oct-2017 at 09:53 PM.

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •