Skip to main content Skip to complementary content
Close announcements banner

Viewing code and executing the Route

Procedure

  1. Click the Code tab at the bottom of the design workspace to have a look at the generated code.
    As shown in the code, the messages are routed according to conditions initialized with the .choice() piece of code. The filter you defined is initialized with the .when() piece of code, and the non filtered messages are routed through the .otherwise() piece of code.
  2. Click the Run button in the Run view or press F6 to execute your Route.
    RESULT: The files containing "Paris" are sent to a folder named Paris_only, and the other messages are sent in a folder called Other_cities.

Did this page help you?

If you find any issues with this page or its content – a typo, a missing step, or a technical error – let us know how we can improve!