Hi all, I've done some searching through the forum and I can't seem to figure this out. I'm sending an email message to IBM Watson classifier. It is returning an array object with each sentence individually classified. I'm looking to see if any of the top_class match a particular string so I need to search through the array with a switch variable in order to initiate different workflows based on existing classifications.
I tried splitting the message, converting it to another type, and I can't seem to find how to get string values in an array to trigger the proper switch.