About Workflow Overview

Depending on the purpose of the templates that you want to create, you must successively retrieve and insert methods in the templates until reaching your goal.

This page discusses:

Workflow

Starting from specific data, workflow processes help you follow a path of methods to retrieve information.

The template creation starts by the definition of at least one input parameter. This parameter is the entry point of the template.

To access information from the input parameter, you can perform the steps presented in the following tables and insert the corresponding methods in the template.

Recommendation: When creating your template, follow these recommendations:
  • Rename the input parameter and the created iteration variables with explicit names, which follow convention rules. For more information, see Recommendations for Naming Conventions and Renaming Template Elements.
  • To enter a string that narrows down the list of categories, methods, types, and variable names, click Modify Filter .
    Note: You can search on internal names.
  • To select the corresponding variable in the Data tab, double-click a loop or a terminal element.
  • To select the corresponding loop or terminal data in the work area, double-click a variable.

Example

The following description shows you how to access the methods successively and insert them in a template. You start from a requirement specification and you retrieve the snapshots of the requirements.

First, create an input parameter of Requirement Specification type. This parameter is named p, by default. You can rename this parameter as rs.

If you enter snapshots in the filter, you can visualize the following filtered elements:

To reach your goal, follow these steps to drop the corresponding methods to the graphical area:

Variable and Type

Category

Method

Graphical Area

rs: Requirement Specification Navigation Snapshots

that returns a snapshot reference

Empty space
sna: Snapshot Reference Navigation Snapshot Picture

that returns an image

In a paragraph placed in Loop on snapshots of rs: sna

Description of the columns:

Column

The column corresponds to:

  • The input parameter and its type for the first step
  • The iteration variable and its type for other steps

Column

The column corresponds to the category where to find methods.

Column

The column corresponds to the name of the method that you can drop in a structure element of the template graphical area. The return type of the method is displayed.

Note: If a method expects a parameter, it is presented as Method (parameter) in the column.
Column The column corresponds to the area where you dropped the method.

Considering that the right structure elements are inserted in the template, you can, for example, create this kind of template with the previous elements.