runabol / piper

piper - a distributed workflow engine
Apache License 2.0
489 stars 87 forks source link

Logical control type support #39

Closed sreenadhvp closed 4 years ago

sreenadhvp commented 5 years ago

Hi Team,

I am trying to find the option, how can i fit IF ELSE control. We have SWITCHand FOR LOOP already.

Please advise.

Thanks in advance. Sreenadh.

ccamel commented 5 years ago

@sreenadhvp Everything you can do with a "if / else" statement can be done with a "switch" statement in piper.

Do you have an example?

anshumanr commented 5 years ago

Quick question on this - can expression in switch take a comparator? e.g. type: switch expression: ${rating} < 50

If yes, i guess the key would be true or false. Is my assumption correct? Thanks.

runabol commented 4 years ago

closing due to inactivity