Perform Multiple actions at a single logic step | Community
Skip to main content
Answered

Perform Multiple actions at a single logic step


Is there a way to have two different ‘then’ actions in a logic step?

 

For instance if a certain question matches a condition, I would like to set a variable flag and ALSO jump to a different question than responses that don’t match the condition.

 

Currently I have to add my condition twice.. Once to replace the variable value, and again to jump to a different question.   This seems really clunky and redundant.

Best answer by john.desborough

@Steven S - this from another user (who is on vacation lol)

unfortunately it would be nice if the logic could be implemented the same way we would write a sql statement BUT it is currently not possible inside typeform to add multiple actions to the one logic rule. You can build some basic AND/OR logic by adding conditions but you are still limited to one ‘action’ at the end. 

des

View original

3 replies

Gabi Amaral
Ex–Typefomer
Forum|alt.badge.img+5
  • Ex–Typefomer
  • 1777 replies
  • August 18, 2021

Hey @Steven S! Welcome to the Typeform Community! :blue_heart:

Can you send us a screenshot/screencast of the logic you're trying to create? This way it'd be easier for me to understand what are the multiple actions you're trying to accomplish! 

Hope you have a great day! :tada:


  • Author
  • Explorer
  • 1 reply
  • August 18, 2021

Here’s an example:

Variable @flag default FALSE

If Question 1 = A
THEN
@flag = TRUE
Add 10 to @score
Jump to Question 2

In all other cases Jump to Question 5.


In order to do this I have to set up 3 separate instances of the same condition:

If Question 1 = A
THEN
@flag = TRUE

If Question 1 = A
THEN
Add 10 to @score

If Question 1 = A
THEN
Jump to Question 2

That seems needlessly complicated.


john.desborough
Forum|alt.badge.img+6
  • Certified Partner & Champion
  • 5307 replies
  • Answer
  • August 18, 2021

@Steven S - this from another user (who is on vacation lol)

unfortunately it would be nice if the logic could be implemented the same way we would write a sql statement BUT it is currently not possible inside typeform to add multiple actions to the one logic rule. You can build some basic AND/OR logic by adding conditions but you are still limited to one ‘action’ at the end. 

des


Reply