Page History
...
- Create a Generic Table.
- Set the Element Type to Parameter and Activity.
- Set the Scope to the Activity element which contains the Parameters.
- Click the Columns button and select New Custom Column. Expression dialog opens.
- Set the Type as String.
- Select the Single Value checkbox.
Select Create operation > Operation from Model > IfThenElse.
Note If you cannot see the Operation from Model operation under Operations, make sure the Expert mode is enabled.
Note If you cannot see the IfThenElse operation, make sure the Apply Filter box is not checked.
- Select Condition > Reset.
- Select Condition > Type Test.
- Select Condition and set the Type to Parameter.
- Select Then > Operation from Model > StringConcat.
- Select A > Reset.
- Select A > Script.
- Select A > arg1 > Remove.
- Select A > Create parameter > Metachain Navigation.
- Set the Parameter Name to to "direction".
- Click Insert.
- Under Metaclass or Stereotype, select Parameter, and under Property, select Direction.
- Select A > Script. From the Language drop-down list, select Javascript Rhino.
Insert the following script as the Body:
Code Block title Javascript Rhino direction.iterator().next().name + " : "
- Select B > Reset.
- Select B > Metachain Navigation.
- Click Insert.
- Under Metaclass or Stereotype, select Parameter, and under Property, select Type.
- Click Insert again.
- Under Metaclass or Stereotype, select Type, and under Property, select Name.
- Click OK.