Developing Apama Applications > Developing Apama Applications in Event Modeler > Using Event Modeler > Using the Block Wiring tab > Wiring a scenario variable to a block
Wiring a scenario variable to a block
You might want the value of a scenario variable to be the input for a block. To do this, use the Variable Mapper block. Wire the output of the Variable Mapper block to the input of the block that requires the scenario variable.
The Variable Mapper block takes the name of a scenario variable as the value of its only input parameter. When the value of the mapped variable changes, the Variable Mapper block sends the new value to its output feed. The output feed includes two values. The first value is the new value as a number. The second value is the new value as text. You can choose which representation you need to wire into another block.
Copyright © 2013 Software AG, Darmstadt, Germany and/or Software AG USA Inc., Reston, VA, USA, and/or Terracotta Inc., San Francisco, CA, USA, and/or Software AG (Canada) Inc., Cambridge, Ontario, Canada, and/or, Software AG (UK) Ltd., Derby, United Kingdom, and/or Software A.G. (Israel) Ltd., Or-Yehuda, Israel and/or their licensors.