A simulation activity contains steps; an adapter is referred to as a step when added to a simulation activity. Steps run in sequence. For example, as shown in the image below, a simulation process have a simulation activity that captures the following steps sequentially:
![]() The Main Step in a Simulation ActivityA simulation activity usually has one step that can be considered the main step. The main step performs the primary task of the activity, while other steps support the primary task. Activities cannot have multiple main steps, although activities are not required to have a main step. You can use the shortcut menu of the adapter to select it as the main step. However, selecting an adapter as a main step does not change the sequence of process execution. For example, consider an activity that uses the Download adapter to download a script to the working directory followed by an OS Command adapter to run the script. In this example, you would select the OS Command adapter as the main step. The figure below shows an expanded and collapsed view of an activity with the OS Command adapter set as the main step. When you collapse an activity, the icon for the main step is used as the icon for the activity by default.
When you configure a step to continue with errors (Continue on Error), the app ignores that step failure and continues running the next step in a simulation process. This approach avoids the entire simulation process failing and retains the partial execution results. You can then use the results from the completed steps to improve the simulation process. While monitoring parameter values, any step that failed because of errors indicates, "Continued on error," and appears with a corresponding color in the parameter history plot. In addition, the job status indicates, "Completed with error," as a warning to use the results of the job only with caution. | |||||||