Hi, everyone!
I made a flow where people send an email with a document. Flow saves it in a Sharepoint library and then updates an excel database with the link of the document. In order to do this, I use the id of the solicitude (whick is in the subject of the email) as key of the rows.
The flow basically takes the subject of the email (Solicitud de ingreso a cartilla médica - id:##) , saves it into a variable, then it splits the subject so as to obtain only the id using the following formula :
substring(outputs('Redactar_3'),indexOf(outputs('Redactar_3'),'.'),sub(length(outputs('Redactar_3')),indexOf(outputs('Redactar_3'),'id:')))
My flow fails with the following message
This is the flow
I don't understand this error, could you help me?