Processing the Output Data
Edit the script in the Process response task as follows.
// Extract the user's GUID from the lookupUser response message // Set a default value for userGUID to display if the user is not found // userGUID = "unknown user"; // Iterate through the list of returned detail elements. (The list should only // contain a single response // for (var iterator = lookupUserResponse.detail.listIterator();iterator.hasNext();) { // Populate userDetail with the current user's details userDetail = iterator.next(); // Extract the current user's GUID userGUID = userDetail.guid; } |
Previous topic: Configuring Output Mappings
Copyright © Cloud Software Group, Inc. All rights reserved.