I get a flow fail on me with the below error:
"Unable to process template language expressions in action 'Extract_Base_office_VALUE' inputs at line '0' and column '0': 'The template language expression 'last(split(outputs('Split_body_text_and_parse_to_array')[8],': '))' cannot be evaluated because array index '8' is outside bounds (0, 7) of array. Please see https://aka.ms/logicexpressions for usage details.'."
I'm not sure what this means or why it is failing. The outputs are as follows:
[
"First name: John",
"Last Name: Doe",
"Cost center:",
"Commission: [\"IDO\"]",
"Base Office: Plymouth ",
"Commission Director Email:",
"Sponsor Email: [\"IDO\"]",
"End user global email: firstname.lastname@domain.co.uk"
]
And then the card where it fails is coded as follows:
last(split(outputs('Split_body_text_and_parse_to_array')[8],': '))
Does an array only have 7 'columns' or buckets?