Is there the ability to get the appeal into your flow and acknowledgment template? I tried a similar expression and steps from getting the fund description, but it didn't work.
Bailey Moroney: Is there the ability to get the appeal into your flow and acknowledgment template? I tried a similar expression and steps from getting the fund description, but it didn't work.
Bailey Moroney:
Hi Bailey,
What issue were you running into? I double checked and was able to pull in the Appeal Description and was able to do so in a similar method as fund description. The caveat is, however, that if a gift isn't tied to an Appeal, no appeal information shows up in the gift_splits area. You'd need to do a check first to see if an Appeal exists before trying to Get Appeal or that part of the flow will fail out.
Expounding a bit on @Glen Hutson response, you can write an expression that checks if the Appeal field is blank and to populate it with a blank string to prevent it from failing or add some form of conditional branching to handle the gifts that have appeals and those that don't have appeals separately.
Matt Thacker: Expounding a bit on @Glen Hutson response, you can write an expression that checks if the Appeal field is blank and to populate it with a blank string to prevent it from failing or add some form of conditional branching to handle the gifts that have appeals and those that don't have appeals separately.
Matt Thacker:
Matt beat me to it. Here's one example of doing the check. In case it's not showing up correctly, in the condition, Use Expression item()['gift_splits'][0]?['appeal_id'] (note the "?") in the left Choose a Value. Use the expression null in the right Choose a Value .
Thank you @Glen Hutson & @Matt Thacker !! It worked Appreciate your explanation!