First post on this forum so hoping someone can help me
- I have a custom list with a list of users and a multi-select tick-box with CountryCode-City, e.g. UK-LO, FR-PA or DE-BE.
- I have created a workflow firstly takes all the CountryCodes-City that have been assigned to a user and places them in a collection. This is all working and if I output into Log it shows as UK-LO;FR-PA;DE-BE.
- I then have associated SharePoint groups with names like UK-LO_INT.
- I have a "For Each" loop that runs through the collection, initially it takes the CountryCode-City and concatenates using a "Build string" to "_INT". Again this is working as output to a Log.
- When it runs it works for the first one and adds the username to the SP Group using a "Call web service".
- When it runs against the second CountryCode-City in the collection it errors with "Failed to invoke web service. Error returned from server: <soap:Fault xmlns:soap="http://schemas.xmlsoap.org/soap/envelope/"><faultcode>soap:Server</faultcode><faultstring>Exception of type 'Microsoft.SharePoint.SoapServer.SoapServerException' was thrown."
"An error has occurred in Populate SP Group Workflow."
Thank you in advance