Call Method Redesign Revision

Read-only forum. Used to announce new releases of EASYProcess.

Locked
JustinVanRegenmorter
Posts: 537
Joined: August 26th, 2021, 9:56 am
Contact:

Call Method Redesign Revision

Unread post by JustinVanRegenmorter »

As of DesignTime revision 2102 and RunTime revision 821, the CallMethod and CallSubMethod service now to require users to add the output that will be received. Users will pass the service name and can rename it. This service will now be added to the output of the outer logic. 
Output Overview.PNG
Output Overview.PNG (46.77 KiB) Viewed 2870 times
Output Overview.PNG
Output Overview.PNG (46.77 KiB) Viewed 2870 times
Output.PNG
Output.PNG (11.47 KiB) Viewed 2870 times
Output.PNG
Output.PNG (11.47 KiB) Viewed 2870 times

Old CallMethods and CallSubMethods will have a new node called Classic set to True so it works as before.


Here is an example of the same method being called using the new mode and the Classic mode:

Inside the method getting called there are three services. Two with "Expose Service Output" set to true and one with it false.
MethodBeingCalled.PNG
MethodBeingCalled.PNG (17.84 KiB) Viewed 2845 times
MethodBeingCalled.PNG
MethodBeingCalled.PNG (17.84 KiB) Viewed 2845 times
The first CallMethod is the classic call and here is how all existing CallMethod, CallMethodAdvanced, CallSubMethod, and CallSubMethodAdvanced services will look. This will always return all services with "Expose Service Output" set to true as output inside the CallMethod service.
ClassicMethodCall.PNG
ClassicMethodCall.PNG (26.05 KiB) Viewed 2845 times
ClassicMethodCall.PNG
ClassicMethodCall.PNG (26.05 KiB) Viewed 2845 times
The second CallMethod only targets user specified services that have "Expose Service Output" set to true. This will return only services specific in the Outputs structure and add them on the the existing output.
NewMethodCall.PNG
NewMethodCall.PNG (46.23 KiB) Viewed 2845 times
NewMethodCall.PNG
NewMethodCall.PNG (46.23 KiB) Viewed 2845 times
Here is how the new output is structured when both services are ran.
OutsideMethodOVerview.PNG
OutsideMethodOVerview.PNG (37.97 KiB) Viewed 2845 times
OutsideMethodOVerview.PNG
OutsideMethodOVerview.PNG (37.97 KiB) Viewed 2845 times
word count: 293
Locked