NEW RELEASE! The 2022x Refresh2 Hot Fix 3 was released on February 28, 2025. For more information, see 2022x Refresh2 Hot Fix 3 Version News.

The number of parameters a script operation can have depends on the script operation language:

  • An OCL expression can have a single parameter, which by default specifies the Contextual element. Though the parameter cannot be removed, you can easily reset the Contextual element, if necessary.
  • A binary expression inherits parameters from the Java class to which the expression body references. You cannot create additional parameters.
  • Other script operations, such as JavaScript or Groovy, can have as many parameters as you need (see the following figure).

 

 


Activity

All
Personal filters
All