<?xml version="1.0" encoding="UTF-8"?>
<org.eclipse.epf.uma:GuidanceDescription xmi:version="2.0" xmlns:xmi="http://www.omg.org/XMI" xmlns:org.eclipse.epf.uma="http://www.eclipse.org/epf/uma/1.0.6/uma.ecore" xmlns:epf="http://www.eclipse.org/epf" epf:version="1.5.1" xmlns:rmc="http://www.ibm.com/rmc" rmc:version="7.5.1" xmi:id="-BYG2r_TAmU4OL3BapLIU1A" name="new_example,_BkKmAIHSEd6NhZnUM27HMQ" guid="-BYG2r_TAmU4OL3BapLIU1A" changeDate="2010-08-30T11:44:21.000-0700" version="7.5.0">
  <mainDescription>&lt;h3>&#xD;
    1 Brief Description&#xD;
&lt;/h3>&#xD;
&lt;p>&#xD;
    This use case describes general behavior for the ATM to validate the user. It includes all steps that are the same no&#xD;
    matter what kind of transaction the Bank Customer does.&#xD;
&lt;/p>&#xD;
&lt;h3>&#xD;
    2 Actors&#xD;
&lt;/h3>&#xD;
&lt;h4>&#xD;
    2.1 Bank Customer&#xD;
&lt;/h4>&#xD;
&lt;h4>&#xD;
    2.2 Bank&#xD;
&lt;/h4>&#xD;
&lt;h3>&#xD;
    3 Preconditions&#xD;
&lt;/h3>&#xD;
&lt;p>&#xD;
    There is an active network connection to the Bank.&#xD;
&lt;/p>&#xD;
&lt;h3>&#xD;
    4 Basic Flow of Events&#xD;
&lt;/h3>&#xD;
&lt;blockquote dir=&quot;ltr&quot; style=&quot;MARGIN-RIGHT: 0px&quot;>&#xD;
    &lt;p>&#xD;
        1. The use case begins when the Bank Customer inserts their Bank Card.&#xD;
    &lt;/p>&#xD;
    &lt;p>&#xD;
        2. The ATM reads the code from the magnetic strip of the Bank Card and checks with the Bank to see if it is an&#xD;
        acceptable Bank Card. The Bank confirms the card is valid.&#xD;
    &lt;/p>&#xD;
    &lt;p>&#xD;
        3. The ATM asks for the customer PIN code (4 digits).&#xD;
    &lt;/p>&#xD;
    &lt;p>&#xD;
        4. The Bank Customer enters a PIN.&#xD;
    &lt;/p>&#xD;
    &lt;p>&#xD;
        5. The ATM validates the PIN with the Bank. The Bank confirms the PIN is valid.&#xD;
    &lt;/p>&#xD;
    &lt;p>&#xD;
        6. The ATM displays the different alternatives that are available on this unit.&#xD;
    &lt;/p>&#xD;
    &lt;p>&#xD;
        7. The use case ends. (The flow continues according to the flow of the specific transaction).&#xD;
    &lt;/p>&#xD;
&lt;/blockquote>&#xD;
&lt;h3>&#xD;
    5 Alternative Flows&#xD;
&lt;/h3>&#xD;
&lt;h4>&#xD;
    5.1 Not a valid card&#xD;
&lt;/h4>&#xD;
&lt;p>&#xD;
    If in step 2 of the basic flow the card is invalid, then&#xD;
&lt;/p>&#xD;
&lt;blockquote dir=&quot;ltr&quot; style=&quot;MARGIN-RIGHT: 0px&quot;>&#xD;
    &lt;p>&#xD;
        1. The ATM shall display a &quot;sorry not a valid card&quot; message and return the card.&#xD;
    &lt;/p>&#xD;
    &lt;p>&#xD;
        2. The use case ends with an indication of the failure.&#xD;
    &lt;/p>&#xD;
&lt;/blockquote>&#xD;
&lt;h4>&#xD;
    5.2 Wrong PIN (1st and 2nd time)&#xD;
&lt;/h4>&#xD;
&lt;p>&#xD;
    If in step 5 of the basic flow the PIN is invalid, then&#xD;
&lt;/p>&#xD;
&lt;blockquote dir=&quot;ltr&quot; style=&quot;MARGIN-RIGHT: 0px&quot;>&#xD;
    &lt;p>&#xD;
        1. The ATM shall display a &quot;sorry invalid PIN&quot; message.&#xD;
    &lt;/p>&#xD;
    &lt;p>&#xD;
        2. The use case resumes at step 3.&#xD;
    &lt;/p>&#xD;
&lt;/blockquote>&#xD;
&lt;h4>&#xD;
    5.3 Wrong PIN (third time)&#xD;
&lt;/h4>&#xD;
&lt;p>&#xD;
    If in step 5 of the basic flow an incorrect PIN is entered for the third time, then&#xD;
&lt;/p>&#xD;
&lt;blockquote dir=&quot;ltr&quot; style=&quot;MARGIN-RIGHT: 0px&quot;>&#xD;
    &lt;p>&#xD;
        1. The ATM shall display a &quot;sorry invalid PIN – Please contact your branch&quot; message.&#xD;
    &lt;/p>&#xD;
    &lt;p>&#xD;
        2. The card is kept by the ATM and a receipt is printed telling how and where to get a new card.&#xD;
    &lt;/p>&#xD;
    &lt;p>&#xD;
        3. The use case ends with an indication of the failure.&#xD;
    &lt;/p>&#xD;
&lt;/blockquote>&#xD;
&lt;h4>&#xD;
    5.4 No Response from Bank&#xD;
&lt;/h4>&#xD;
&lt;p>&#xD;
    If in steps 2 or 5 of the basic flow there is no response from the Bank within 3 seconds, then&#xD;
&lt;/p>&#xD;
&lt;blockquote dir=&quot;ltr&quot; style=&quot;MARGIN-RIGHT: 0px&quot;>&#xD;
    &lt;p>&#xD;
        1. The ATM will re-try, up to three times.&#xD;
    &lt;/p>&#xD;
    &lt;p>&#xD;
        2. If there is still no response from the Bank, the ATM shall display the message &quot;Network unavailable – try again&#xD;
        later&quot;.&#xD;
    &lt;/p>&#xD;
    &lt;p>&#xD;
        3. The ATM shall return the card.&#xD;
    &lt;/p>&#xD;
    &lt;p>&#xD;
        4. The ATM shall indicate that it is &quot;Closed&quot;.&#xD;
    &lt;/p>&#xD;
    &lt;p>&#xD;
        5. The use case ends with an indication of the failure.&#xD;
    &lt;/p>&#xD;
&lt;/blockquote>&#xD;
&lt;h4>&#xD;
    5.5 No Response from Bank Customer&#xD;
&lt;/h4>&#xD;
&lt;p>&#xD;
    If in step 4 of the basic flow there is no response from the Bank Customer within 15 seconds, then&#xD;
&lt;/p>&#xD;
&lt;blockquote dir=&quot;ltr&quot; style=&quot;MARGIN-RIGHT: 0px&quot;>&#xD;
    &lt;p>&#xD;
        1. The ATM shall issue a warning sound and display the message &quot;Please enter PIN&quot;.&lt;br />&#xD;
        &lt;br />&#xD;
        2. If there is still no response from the Bank Customer within 15 seconds the ATM will store the card internally.&#xD;
    &lt;/p>&#xD;
    &lt;p>&#xD;
        3. The use case ends with an indication of the failure.&#xD;
    &lt;/p>&#xD;
&lt;/blockquote>&#xD;
&lt;h4>&#xD;
    5.6 Stolen Card&#xD;
&lt;/h4>&#xD;
&lt;p>&#xD;
    If in step 2, the Bank indicates that this is a stolen card, then&#xD;
&lt;/p>&#xD;
&lt;blockquote dir=&quot;ltr&quot; style=&quot;MARGIN-RIGHT: 0px&quot;>&#xD;
    &lt;p>&#xD;
        1. What shall we do? Take a picture of the user? Notify the police?&#xD;
    &lt;/p>&#xD;
&lt;/blockquote>&#xD;
&lt;p>&#xD;
    [This is a typical way to use Use Cases. You can write your questions right down in the text ­ and when you get your&#xD;
    answers you'll have to correct it. Another way to do it: is to assume one way ­ either they like it or they tell you&#xD;
    how it should be]&#xD;
&lt;/p>&#xD;
&lt;h3>&#xD;
    6 Post-conditions&#xD;
&lt;/h3>&#xD;
&lt;h4>&#xD;
    6.1 Successful Completion&#xD;
&lt;/h4>&#xD;
&lt;p>&#xD;
    If the use case ends in success, the user is validated and may continue with the specific transaction.&#xD;
&lt;/p>&#xD;
&lt;h4>&#xD;
    6.2 Failure Condition&#xD;
&lt;/h4>&#xD;
&lt;p>&#xD;
    If there is a failure to validate the user, the ATM shall log the event including the reason for the failure.&#xD;
&lt;/p>&#xD;
&lt;h3>&#xD;
    7 Special Requirements&#xD;
&lt;/h3>&#xD;
&lt;p>&#xD;
    [SpReq:VU-1] The ATM shall keep a log, including date and time, of all complete and incomplete transactions with the&#xD;
    Bank.&#xD;
&lt;/p></mainDescription>
</org.eclipse.epf.uma:GuidanceDescription>
