Page 1 of 1

Duplicate Exposed Services in Assistant

Posted: November 3rd, 2021, 3:45 pm
by JefferyD
When creating a method, sub method, or list method, there may be times where a duplicate exposed service dedicated for a particular execution flow path is easier than combining all the logic into a single service. This will cause a call of that method to display multiple copies of that service in the assistant.
DuplicateServicesExample.PNG
DuplicateServicesExample.PNG (46.91 KiB) Viewed 5781 times
DuplicateServicesExample.PNG
DuplicateServicesExample.PNG (46.91 KiB) Viewed 5781 times
DuplicateAssistantServices.PNG
DuplicateAssistantServices.PNG (32.09 KiB) Viewed 5781 times
DuplicateAssistantServices.PNG
DuplicateAssistantServices.PNG (32.09 KiB) Viewed 5781 times

This can be reduced by performing the desired logic prior to the exposed service and instead only using it to consolidate the results of the different branches.
ConsolidatedServicesExample.PNG
ConsolidatedServicesExample.PNG (47.29 KiB) Viewed 5781 times
ConsolidatedServicesExample.PNG
ConsolidatedServicesExample.PNG (47.29 KiB) Viewed 5781 times
ConsolidatedAssistantServices.PNG
ConsolidatedAssistantServices.PNG (27.24 KiB) Viewed 5781 times
ConsolidatedAssistantServices.PNG
ConsolidatedAssistantServices.PNG (27.24 KiB) Viewed 5781 times