Triggering Process Flow Using Web Service Trigger

Web Service Trigger is an interface, which allows a Web Service client to trigger any process flow in Adeptia Server. The Web Service client needs to pass the ID of the process flow and any input parameters that need to be passed into the Process Flow.
To trigger a Process Flow, the Web Service client needs to know details of the Web Service published and format in which input parameter can be passed.
This feature is available in:

Enterprise

Premier

Professional

Express

√

√

√

 


Steps to get the information required by Web Service Client to trigger a Process Flow

  1. On the Adeptia Suite homepage, click the Develop tab.
  2. Go to Events & Triggers > Web Service.

    The Web Service Trigger screen is displayed (see Figure 724). 

    Figure 724: Web Service Trigger

  3. This screen shows the details of the Web Service published. All the parameters needed by the Web Service client to invoke the service are displayed in this screen.
  4. Use the WSDL URL and Sample Input Document displayed in the Figure 724 to trigger the Process Flow.
  5. A Sample Input Document which is to be used to trigger the process flow is displayed below.

    <?xml version="1.0" encoding="ISO-8859-1"?><request 
     xmlns:xsi='http://www.w3.org/2001/XMLSchema- 
     instance'><Transactionid>192168001138109626945685900003</Transactionid> 
     <Map><Key>name</Key><value>Adeptia</value></Map></request>

    Sample Input Document used to Trigger Process Flow

     

  6. Make sure to replace the Transaction ID with the ID of the Process Flow, which is to be triggered.

    While creating the Web Service trigger, you need to ensure that Transport security type is selected, as this trigger does not support Message security type.

  7. To pass the parameter to the process flow, enter the key(name) and the value of the parameter in the Map tag of the XML shown above.

    To know the ID of a Process Flow, In the Manage Process Flow page, click View link against the process flow.