Can we use a handlebar reference? "Text: Find Words That Contain Text"

Options
David_931366
David_931366 Posts: 53
edited September 2020 in Questions

For the search value, can we use a handlebar reference to a Global field? It doesn't cover this in the Action help and when I try it, it doesn't work. If not, when we have a dynamic search value, what would you recommend?

EDIT -- It just worked on my 5th attempt...perhaps it was just being difficult?

Best Answer

  • Jozef_783863
    Jozef_783863 Posts: 331 admin
    Answer ✓
    Options

    Hi David,

    I was able to reproduce the issue only when I placed quotes around the field reference in the Search value setting. Did you use quotes in your action setup when the output was no matches found?

    A field reference in the Search value setting, without quotes, returned correct results. This was the case when testing both the CONTAINS and STARTS-WITH Search type. For reference, I used the example values below for the field reference in the setting named Text to search and the field reference in the setting Search value.

    Text to search
    Test Company 1
    Unsubmitted
    False

    Search value
    Test Company 1

Answers

  • David_931366
    Options

    @Jozef_783863 THANK YOU! Yes, I did originally have quotes around the reference, as in the past I feel like that was a good practice. Thank you for identifying why it didn't work and then why I was able to resolve it without knowing how!