Custom Service MethodsLast Updated: 01/08/2019 Introduced in Version:
In Decisions, custom service methods are created form the properties tab inside the flow designer. The Service Method created provides a unique method of integration that provides a (WSDL) roadmap that points web services to Decisions. Below is an example of how to start building custom web services from a flow.
Creating a Custom Service Method is configured in a Flow. First Create a new flow or open an existing flow and navigate to the properties tab on the right side. First, locate the Settings section in the Properties Tab. Under Service, Settings check the box next to Create Service. This will turn on the Service Method setting. Name the Service Name and the Main Method Name.
Save the flow and the Service Name will now be located in the All Services Folder in Decisions Account Managment.
A message will display in the right corner with an alert confirming that the services and data types are now available (Figure 2).
Next, locate the All Services Folder to locate the new Service Method. In the folder tree navigate to Sytem> Administration> Features> All Services (Figure 3).
Inside the All Services folder, a list of out of the box web services are available. Locate DecisoinsAccountManagement and select to view the action menu. Choose View Integration Details to see the newly created Service Method. Choose View WSDL to view all of the code generated for the new service method (Figure 4).
The View Integration Details will display all of the Method Names associated with Decisions Account Management. Below the newly created Method Service is displayed in the list (Figure 5)
View WSDL to view all of the code generated for the new service method will display as seen in the image below (Figure 6).