<?xml version="1.0" encoding="UTF-8"?>
<process xmlns:blue="http://www.e-marson.com/bluelemon">

  <descriptor>
    <name>com/emarson/lemonade/examples/mobank/mocheers/HelloScreen</name>
    <version>1.0</version>
    <description>
      Shows the screen with "Hello World!" text.
    </description>
    <vendor>E-MARSON</vendor>
  </descriptor>

  <path>

    <!-- ASSOCIATIONS --->
    
    <!-- association to CheersScreen --->
    <action name="action for 'Continue'">
      <type>general/bluelemon/code</type>
      <definition resultTo="goToCheers">
        <blue:call node="com/emarson/lemonade/examples/mobank/mocheers/CheersScreen"
                   location="@com/emarson/lemonade/examples/mobank/mocheers"/>

      </definition>
    </action>

    
    <!-- INSTRUCTION --->
    
    <subprocess name="'Hello World!' screen">
      <source>com/emarson/lemonade/templates/YesNoWindow</source>
      <arguments>
        <argument key="title">"mobank: Cheers"</argument>
        <argument key="text">"Hello World!"</argument>
        <argument key="forwardAction">goToCheers</argument>
        <argument key="forwardActionText">"Continue"</argument>
      </arguments>
      <resultTo>helloWorldScreen</resultTo>
    </subprocess>

     <finish name="done">
      <return>helloWorldScreen</return>
    </finish>

  </path>

</process>