5.3.21 Effect of changing the values of plug-in properties during debugging
During the debug process, the information you can change in relation to a step are the values of plug-in properties and the return values of plug-ins. Changing the value of a plug-in property does not automatically change the values of the service properties to which it is mapped. However, changing an output property of a plug-in can indirectly change the value of a service property (output property or variable) depending on how output property mapping is configured.
The following shows an example of how changing the values of input and output properties of a plug-in while executing a step affects the behavior of a service template. This example assumes a service template with the following definition:
|
Property mapping definition
- Step A
-
-
The input property Input 1 of the service is mapped to the input property Input A1 of Plug-in A
-
The output property Output A1 of Plug-in A is mapped to the variable Variable 1 of the service.
-
- Step B
-
-
The variable Variable 1 of the service is mapped to the input property Input B1 of Plug-in B.
-
The input property Input 1 of the service is mapped to the input property Input B2 of Plug-in B.
-
The output property Output B1 of Plug-in B is mapped to the output property Output 1 of the service.
-
Behavior when a property value is changed
- Behavior when changing an input property of a plug-in
-
If you change the value of the input property Input A1 of Plug-in A before executing the plug-in, Plug-in A uses the new value when it runs. This does not change the value of the service input property Input 1 to which the plug-in input property Input A1 is mapped. Therefore, the input property Input B2 of the plug-in is assigned the original value specified for the input property of the service.
- Behavior when changing an output property of a plug-in
-
If you change the value of the output property Output A1 after executing the plug-in, the new value is assigned to the service variable Variable 1 to which Output A1 is mapped. The input property Input B1 of the plug-in also takes the new value.