Using Substitution from Objects in Automate

Two ways you can use substitution in automate:

  1. Direct will use instances.

  2. Indirect will use an $evm.instantiate call from a method

You can test this from Simulation.

For Direct

Start with System/Request/direct

For Indirect

Start with System/Request/indirect

Resolved Object

image

Instantiate method

$evm.instantiate(’/namespace1/class1/instance1’)

Test method

obj = $evm.object("/namespace1/class1/instance1")

attr1 = obj[“attr1”]

attr3 = obj[“attr3”]

1 Like