Page 1 of 1

Application Login Process Output style.

Posted: June 28th, 2022, 1:41 pm
by AkshayKhanolkar
When I started working on the Application Login Process for EASYCommerce 5.1 MVC, we saw that it was using CreateServiceNodes and the output services. There are many of these output points throughout the process. I have changed them to MethodOutput to get in line with our site-wide design decisions. Do you think this will have an impact on the logic or does it not matter. How is the output being processes when the ALP returns.
image.png

Re: Application Login Process Output style.

Posted: June 29th, 2022, 9:10 am
by SteveCap
It would depend on what the CallMethod has set for Classic.
If Classic = False
If you have a create service node in the method that you want to access you will have to set expose output = true on it then in the CallMethod specify it as an output. It will then be accessible as WorkData/MyCreateServiceNode/Output/Result in the process that the CallMethod is in. If using the MethodOutput service those values will then be accessible as WorkData/CallMethod/Output/Result
<CallMethod>
<Parameters></Parameters>
<Outputs>
<Output IsArray="True" Index="1">
<Name>MyCreateServiceNode</Name>
<NewName></NewName>
<AppendExistingOutput>False</AppendExistingOutput>
</Output>
</Outputs>
<Classic>False</Classic>
</CallMethod>

If Classic = True the MethodOutput service will not work. All services in the method that have Expose Output will be accessible as WorkData/CallMethod/Output/Result/ServiceName/Output/Result