kaspertik Posted December 7, 2021 Posted December 7, 2021 I have created a Conditional based on various queries {query}. There is an option to set content in a Then field for each if statement, and the placeholder says Output label. I cannot figure out how to use this Output label in my following Open URL action. What is the {xxx} format to use?
vitor Posted December 8, 2021 Posted December 8, 2021 16 hours ago, kaspertik said: I cannot figure out how to use this Output label in my following Open URL action. You don’t; it is just what it says, a label. The output of the conditional is the {query} that entered it.
kaspertik Posted December 8, 2021 Author Posted December 8, 2021 Completely misunderstood that, i thought it added a variable! Adding a replace utility after the conditional fixed my issue then, thanks.
Aravind Posted March 11, 2023 Posted March 11, 2023 Hi @kaspertik I understand that you recently faced a challenge in replacing a query with a conditional statement output. I am currently facing the same issue and was wondering if you could share your insights on how you went about solving it. Example: my condition: if {query} is equal to google then test_google I need to replace this `test_google` as my {query} so that I can use open URL action after that
vitor Posted March 11, 2023 Posted March 11, 2023 Welcome @Aravind, A conditional is for checking, what you’re looking for is the Replace Utility.
Aravind Posted March 11, 2023 Posted March 11, 2023 Thanks for the quick reply @vitor. But my request is this one.
vitor Posted March 11, 2023 Posted March 11, 2023 @Aravind I see you resolved it, but the answer stands. It seems you were expecting the {query} to be what’s in the then but it’s not (that’s a label so you identify each output), it’s still what came from the Keyword. The debugger will help you see that.
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now