I’m using twitter to look up Twitter Spaces rooms (their new audio room feature). As I get info on the room, I also see a list of hosts and cohosts. I have a sub splitinbatch setup to check each host of the room against a db of the folks I’m following. If the hostid/userid of the user matches the userid of someone I’m following, then the workflow will retweet the Twitter Spaces room from my account.
The issue I’m running into is when my sub splitinbatch is processing an item/room with more than one hostid, splitinbatch gets empty data for the second and third hostIDs in the array for the item.
Here is a video overview of my issue. (Sorry for the loud audio)
Here’s item 1 with only one host id.
And the batch getting the data
Here’s item #2 with 2 host id’s.
Splitinbatch see’s the first host id of the second item
But the second host id in that array receives empty data.