If I want the parsed item itemNumber, it will return nothing. But I can request the serviceTag item. Assuming this is because it’s in an array same as yours.
@matthew.hall There isn’t a method in the WFA to enumerate (e.g. for loop) through all values in an array and the documentation doesn’t have an in depth overview of the functionality in the JSON Parser. In the Parser, there is a context menu that allows you to add variables so you can create variables for the itemNumber (e.g. itemNumber1, itemNumber2) based on the index. Note the cc emails, we created cc_email_1 as index 0 of the Array:
It looks like this was actually fixed recently, so now if I request an email I’ll receive something like here’s your data “2022-02-21t05:59:59.637Z”.
My problem now is that the quotes are normally removed automatically if it’s not in an array like this, but now aren’t. That makes it impossible to pass back to the freshservice API because the expression builder seems to hate quotes.
By the way, this is how I’ve had it set for 3 months in the parser, so unfortuntately Rob at the time I had already done that.
Trying to get it done in the freshservice automator. If that doesn’t work, I can definitely run it as a weekly task off of my machine in powershell.
And I wouldn’t say it’s working again. It didn’t work in the first place, and this does not fully resolve the original request of this topic, which would output Admin. Instead it would output [“Admin”] or in my case [“ISO-date”].