Hi @mikkele
Yes having on both sides of the condition might be a bit messy when trying to read the Log.
I suggest you have 2 Arrays - one called True, an one called False.
You could also add a but of structure to the array for example:
| LastName - FirstName - UserID - Email - Active |
This way you can distinguish between each record.
Lastly to get or save the log somewhere. You can do basically anything with this variable now. You can:
Send yourself an email.
Send the variables to Teams, SharePoint.
Anywhere you like.
Just make sure you do this after the loop.
—Josh
If you like my post please hit the "Thumbs Up" -- If my post solved your issue please "Mark as a Solution" to help others