Hi, Im getting syntax errors from the below script when I try to read email addresses from the Issue Organizations. It's returning the correct output in the log and the logic seems to be working. But for some reason it has syntax errors. Can someone please help? Thanks.
It appears that the code editor/code checker is losing track of what "organizationResults" is or should be. So it can't verify that "name" is valid. Then all the rest follows.
If static type-checking errors bother you (they are a tool for the developer, not a guarantee that your code is bad), you can force the matter by declaring your organization explicitly.
Something like:
List<CustomerOrganization> organizationsResults = []
Also, you might want to adjust your variable names. Initial capitals are reserved for class names. That's why the editor highlights NextPageCheck and StartRequest in green.
By convention, those should start with a lowercase.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Online forums and learning are now in one easy-to-use experience.
By continuing, you accept the updated Community Terms of Use and acknowledge the Privacy Policy. Your public name, photo, and achievements may be publicly visible and available in search engines.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.