<!DOCTYPE html
  PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">

<!--
Copyright (c) 2006 UGS Corp.

All Rights Reserved.

This software and related documentation are proprietary to UGS Corp.
-->
<html>
   <head>
      <meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
      <title>Logic Step</title>
      <script language="javaScript">
        abridged="false";
        displayConditions=new Array();
      </script>
      <link type="text/css" href="../css/main_styles.css" rel="stylesheet">
   </head>
   <body class="bodydocs" onload="top.pageLoader()" bgcolor="#FFFFFF">
      <div class="title_topic4" id="xps10_pagetitle">Logic Step</div>
      <hr noshade="true">
      <p class="para_topic">This step lets you define conditions for a selection from two or more subsequent steps. A <b class="uiTerm">Logic</b> step is defined primarily through step connectors rather than within the step itself. The outcome of the <b class="uiTerm">Logic</b> step is determined by the defined connectors. 
      </p>
      <div class="title_division">Creating a Logic Step</div>
      <p class="para_division">You define a <b class="uiTerm">Logic</b> step by constructing two or more boolean statements that determine the next step. The first true statement encountered will select that path for the next step. The last choice is the default option, which always executes as true.
      </p>
      <p class="para_division">To create a logic step:</p>
      <ol type="1" start="1">
         <li>
            <p class="para_item">Select the <b class="uiTerm">Logic</b> step icon and drag it to the graphics window, or double-click. 
            </p>
         </li>
         <li>
            <p class="para_item">Create the outcome steps for the <b class="uiTerm">Logic</b> step. Then, with the <b class="uiTerm">Group</b> step area of the <b class="uiTerm">Logic</b> step selected, use MB3 to create connectors to each of the outcome step choices. 
            </p>
         </li>
         <li>
            <p class="para_item">If necessary, select each connector originating from the <b class="uiTerm">Logic</b> step, and use MB3 to edit the connector attributes. For example, you can modify the order of the connectors, which determines the evaluation sequence when the <b class="uiTerm">Logic</b> step runs in the wizard.
            </p>
         </li>
         <li>
            <p class="para_item">With the connector selected, edit the properties and values for the connector, if necessary.</p>
         </li>
      </ol>
      <p class="para_division">The last choice step you create, by default, is always accepted as true. </p>
      <div class="title_division">Using a Logic Step</div>
      <p class="para_division">On the consumer side, the <b class="uiTerm">Logic</b> step displays as a dialog in the wizard. The dialog automatically evaluates the boolean choice statements defined by the authoring tool to determine the number of step options. Each detected step option is displayed in the wizard as an action button. 
      </p>
      <p class="para_division">Based on the software's evaluation of the boolean statements, an automatic selection of one of the <b class="uiTerm">Logic</b> step choices is made. The end user can agree with the selected choice or select another choice. The process continues in the wizard as the user selects <b class="uiTerm">Next</b> or any of the other available options. 
      </p>
      <table border="0">
         <tr>
            <td valign="top" align="left"><img align="left" src="../graphics/note.gif" alt="Note" title="Note"></td>
            <td valign="bottom" align="left" width="100%">
               <div class="para_note">
                  <p class="para_note_body">If you do not want the dialog to be visible in the Manufacturing Wizard, select <b class="uiTerm">Auto Execute</b> for the step. 
                  </p>
               </div>
            </td>
         </tr>
      </table>
   </body>
</html>