Power Automate Exchange

Please login or click SIGN UP FOR FREE to create your FlowUG account to join this user group.
 View Only
  • 1.  Error in Flow - The To array is required

    Bronze Contributor
    Posted Jul 29, 2022 10:27 AM
    Edited by Prem Guru Jul 29, 2022 10:38 AM
    Hi All,

    I have below form, the green section is filled by the requestor. Once the Requestor fills and submits the form, email notification is sent to HR Manager to approve/reject the request.

    Once the HR Manager receives an email with a link to form, they update Global and Category HR names in yellow section.

    Once the HR Manager updates the names, I'm getting below error:

    We've already added HR field into the Flow in To field, but when the flow runs, nothing appears in the field.

    Please note: I've connected SharePoint list to the form. The same list is split into 2. For Requestor, I've taken only the required fields which they need to update. Same for HR Manager

    Let me know in case of any additional info required.

    Looking ahead for a solution.

    ------------------------------
    Prem Guru
    ------------------------------


  • 2.  RE: Error in Flow - The To array is required

    Top Contributor
    Posted Aug 01, 2022 07:08 AM

    I think the problem is less about the "to array" and more about the fact that your "to field" isn't returning any email addresses. Which we need to see how/what you are putting for to and how that value is being determined. 



    ------------------------------
    Sam Duval
    Data Quality Analyst
    Element Financial
    Indianapolis IN
    ------------------------------



  • 3.  RE: Error in Flow - The To array is required

    Posted Aug 01, 2022 07:52 AM
    I think the problem is that you have not initialized an array variable to add the addresses to, you are passing a string to a field that expects an array.

    ------------------------------
    Dean Morgan
    Azure Architect
    Irmo
    ------------------------------