Hi guys,
I am bloody newbie to
Infopath. I want get all the sharepoint groups of the current user. So i use
the SP web service with SOAP and call the 'GetUserProfileByName'-Function. This
request is fired with the opening of the form and it goes pretty well. In the
next step i want to get all the groups of this user. Therefor I want query a
second data connection with the method 'GetGroupCollectionFromUser'. So I
created a rule which set the name-value received by the first query into the query
field of 'GetGroupCollectionFromUser' and in the next step it triggers the data
connection.
My problem is how to
trigger this rule by condition from the first request. For my understanding as
soon some value changes in the result set of 'GetUserProfileByName' an action
will be fired. I tried to apply this rule (Condtion 'Name = Accountname') to different data-elements of
'GetUserProfileByName' with no result:

When copy this rule to a text
field and just set the condition for example to 'not empty' it works. Can
somebody give me a hint how to trigger a second data connection when the first
one was successful?
Btw. i used the blog entry
'http://jaliyaudagedara.blogspot.co.il/2011/05/getting-current-users-sharepoint-group.html'
to get the idea.
Best,
Choceur