We need a workflow that will list all the users assigned to a data connection. This will be used for decommissioning data connections. I found that you can use the following Logic trail to find out WHO is using a Data Connection:
1. Get the dataConnections.Users.? (users.0 thru users.8) and match that/those with the appInfos.CreatedBy; Then
2. Get the appInfos.SubscriptionId and match with the users.SubscriptionId; Then
3. Get the users.Sid and match that with the windowsIdentitys.Sid
I created a workflow that will JOIN the single data connection user to the appInfos CreatedBy. So there are 9 JOINS for just getting the dataconnections Then I merged all 9 into 1 file. Then I used a JOIN on the users and windowsIdentity collections to get the users SubscriptionID needed to JOIN with the 9 in 1 merged file.
This works for ALL of my data connections and users EXCEPT for the ones that have not used their assigned data connections. The missing users DO have an entry in the dataConnections collection. However, they do NOT match up with ANY entries in the appInfos collection. Is this entry just a placeholder for the user in that data connection until they actually use the data connection?
Does anyone know WHY the users who have not used their assigned data connections do not appear in the listing created by the above workflow?
Does anyone have a working workflow to list the dataconnections and the users assigned to them?
Any help on this is greatly appreciated. Thank you.