Could anyone please tell me in brief about the difference between using a service as an inline function and using it as a transformer.
I have heard my seniors saying, invoking service as a transformer will improve the performance as well as reduce the complexity as the pipeline out variables of the transformer won’t have scope after that and we need not drop it explicitly.
But in some scenarios from my personal experience i feel, things go wierd when invoking service as a transformer. Variables from the main service are not preserved when invoking a service as a transformer.
Can anyone pls advice.
Thanks in advance,