To execute multiple sub processes

arjunarjun Member Posts: 1 Contributor I
edited November 2018 in Help


Need help in using switch case without a break so that it uses a right case for execution in Rapidminer 

switch (n)
case constant1:
// code to be executed if n is equal to constant1;

case constant2:
// code to be executed if n is equal to constant2;
// code to be executed if n doesn't match any constant




  • Options
    jczogalla_edujczogalla_edu Member Posts: 2 Contributor I

    Hi arjun,

    you can use the "Select Subprocess" operator to model each subprocess you need. In the parameter "select which" you can use a macro that you have to create before this operator to select the apropriate subprocess.




  • Options
    Telcontar120Telcontar120 Moderator, RapidMiner Certified Analyst, RapidMiner Certified Expert, Member Posts: 1,635 Unicorn

    If you have only two conditions then you can also use the related "Branch" subprocess operator.


    Brian T.
    Lindon Ventures 
    Data Science Consulting from Certified RapidMiner Experts
Sign In or Register to comment.