Previous Topic: Update a USE Control ActionNext Topic: Match and Copy Views


Add a SET USING Assignment Action

Adding a SET USING action consists of the following activities:

Adding a SET USING action is the third way to access view matching in the Action Diagram. The SET USING action lets you use an algorithm to set an attribute value. The algorithm is defined as an action block. When you invoke a SET USING action, you need to match the import views of the called (USEd) action block to the supplying views from the calling Procedure Step or action block. The export view of the called action block is the value of the attribute you are setting. When you have matched the import views of the action block, the SET USING statement is complete.

The following example shows how a SET USING statement appears in the Action Diagram:

SET status USING status_assignment
WHICH IMPORTS: Entity View new_employee