KBEC-00153 - Sharing parameters between procedures without using additional properties

Article ID:360032831112
1 minute readKnowledge base
On this page

Summary

Procedure "bar" also has parameter "A". How can procedure bar’s parameter A value match procedure foo’s parameter A value?

Solution

The property sheet formalParameters holds parameter A and the defaultValue property sheet holds the value X in this case.

  1. Use ectool to examine the value of the property:

     ectool getProperty /projects/Testing/procedures/foo/formalParameters/A/defaultValue
  2. Reference the property name as a parameter in another procedure:

     $[/projects/Testing/procedures/foo/formalParameters/A/defaultValue]