Assigned Fundraiser not displaying in Power Automate

Options

This was an issue I came across last year (and did get some input at the time), but never resolved and am only getting back to it now.

I am looking to send an Action list via email and want to include the Action Solicitor name. All I get is the ID number. Any thoughts as to what is wrong with this flow? In the Dynamic content in “Assigned to Array Variable”, Constituent 2 fields don't display.

3cf8258401aa3b87dd185c9507026023-huge-im

Comments

  • Alex Wong
    Alex Wong Community All-Star
    Ninth Anniversary Kudos 5 PowerUp Challenge #3 Gift Management Name Dropper

    @Reuben Schmitz
    You do not need to use another apply to each on the fundraisers.

    After your Get a constituent action action, you get a dynamic content of Fundraiser(s) (with a description of “The set of system record IDs for the fundraisers….”). What you can do is, use the List constituents action and in the Constituent ID field use the join() expression to join the fundraiser's system id with a comma (,):

    join(outputs('Get_a_constituent_action')?['body/fundraisers'], ',')

    You will get something like this as a result of the join(): 1111,2222,3333

    85fb800e0f645beff4469d3bf074ac2e-huge-im

    This will give you all the constituents in an array for all the assigned fundraisers. You can then use the Select action to select only the name of the constituents as an array

    b0502bad08f2460441bfdb72afdec493-huge-im

    in your append to array variable, yo ucan use the join() expression again, to join the mulitple assigned fundraiser(s) by a delimiter (i.e. semi-colon or comma)

    join(body('Select'), '; ')

    You will get something like this as a result of the join(): John Smith; Mary Jones; Tom Hanks

  • @Alex Wong Thanks as always for your insight and guidance. Your solution worked fine for me. and I have what I need. Thanks again!

Categories