Initializing a dynamic partner link
In previous exercises, we used static partner links that are defined at the design time, but in a <forEach>
activity where the repetitive execution logic is implemented within a <scope>
activity. In order to invoke different service endpoints, we need to dynamically change the endpoint data stored in the partner link. In this step, we create a new local variable that can hold partner link data. Then at each iteration, we modify the endpoint data stored in that local variable. Then, we assign the values in that local variable to the local partner link in order to modify the endpoint data of the local partner link within a different <assign>
activity named Initialize_Partner_Reference
.