Help with flow Excel table to RE

Options
c9d0d764761e9ecb596ae427019145f5-huge-im
22fafdf2aab3298d8fafd9728dd3872d-huge-im
95af3f0c49980f850c7056df2551170d-huge-im
eea068ab9ea0363510713860a1e07e94-huge-im
c0a3b8c5b486f71d1c7c14b0c57198f3-huge-im
d4643cf94509bc41e3e053cb2072f23a-huge-im
b93f1e7f9433a7386035157caa42b6dc-huge-im
b4f2c7200b5ac3bb5d361ca743240871-huge-im
d445b120364f186c439f5dd1e8dd8564-huge-im
85948849527d8461f90b32c6e305cb34-huge-im
4c0a5b3ab90f18273fcbfc4c73786919-huge-im
99277a4434a3522d0a46fa26cf442fe6-huge-im
9a990638c86710176ed9b019425897ea-huge-im
e96de98985978c865849e4a47cb8cc41-huge-im

Hello to all you amazing helpers in this community! Looking to see if anyone can help me troubleshoot a flow I am working on. I want it to check an excel table daily to and determine if there is a match in RE, if so I want it to go to one route of the condition where it then checks if they are already registered for an event, and if not, register them for it. If they are it does nothing. The other way my condition would go is if they don't have an RE record at all, create one and then add them as a registrant to the event. Parts of this are working and parts aren't - Constituents that it found a match for are funneling to the true condition to then check if they are a participant, but the condition I have to determine if they are a participant isn't working. Also, those that aren't in RE aren't flowing to the false condition route to create them as a constituent and then add them as a participant. I have attached some screenshots. Any help would be very much appreciated!

Comments

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

    @Jessica White
    condition 2 is never going to be more than 1 b/c you are not getting the length of the serach result, you are getting the length of each search record's constituent_id.

    Instead, you should be conditioning on the length of the array of returned result.

    828fdff46f8aae1de377ac66f80442d5-huge-im

    your condition for checking if the searched record is already registered to an event is not doing what is is supposed to do like you said, so the condition is flawed, but it is hard for me to see where your flaw is when i can't see your actions well.

    Regardless, let's start with correct logic of what should. You have 3 arrays of data: list of excel rows; list of event participant; and list of search constituent results.

    • get list of excel rows
      • assuming you are not worry that there are dup in your excel rows, then you can get list of event particpant next step without being a loop
    • get list of event participant
    • Loop - For each rows in excel (this should be the ONE and ONLY for each loop in flow)
      • search constituent by name and email
      • condition on length(result) ≥ 1
        • You will need to consider if 0, 1, or more than 1
          • if 0, no existing match found, create new constituent and new participant record
          • if more than 1
            • I do not think you want to check/create participant record for EACH potential match, so you do not want to LOOP for each constituent search result
            • so either you do nothing and make this excel row require “review” or you use the duplicate cosntituent search that can provide a ranking score of top match, and then use the “FIRST” constituent match to check/register as particpant
          • if 1, check for if already registered
            • use the Data operation to “FILTER”. You can filter the list of event participants for Contact ID (which is the constituent system record id of the constituent that is a participant)
            • then you can condition on the LENGTH of the filter body if 0 means create new participant record
    110b188bb026b3c618aa9db777a787d6-huge-im

    You may want to consider using the duplicate constituent serach instead, which provides a ranking of top match

    5dce367df50bab4c0b0d7a7330c9d191-huge-im
  • @Alex Wong
    You are the best! Thank you for helping me yet again. I can’t tell you how much I appreciate it as I have been trying to move to more complex flows after getting the hang of simple ones. I utilize the BB resources and videos but it’s hard when you are building something on your own and run into questions. Blackbaud should hire you to lead customer support for the Power Platform with RE ??

Categories