Trying to calculate field in Smart Form/Field Maps with Arcade calculated expression to populate a field with the current user if another field has been populated.
IsEmpty returns a boolean, but you're comparing it to the string "False". This will always return False. Use this instead
var inspected = $feature.INSPECTION_STATUS;
var userInfo = GetUser();
IIF(!IsEmpty(inspected), userInfo.username, '');