Completing a Step Using Web
Services
You can complete a step of a running process using the GPActionDiscoveryWSILWeb service (WS) that Guided Procedures (GP) provides.
For more information about the specifics of WSIL and WSDL generation and content, see Consuming the GPActionDiscoveryWSIL Web Service.
● You have started a process in GP runtime.
See
Starting (Initiating)
a New Process.
● You have created and configured a logical destination for the GPActionDiscoveryWSIL Web service.
See
Configuring Logical
Destinations for WS Callable Objects.
● You have the appropriate permissions to work with GP design time.
See
Portal
Roles.
...
1. Create the callable object as described in Exposing Web Services as Callable Objects.
a. Select the logical destination you created previously for the GPActionDiscoveryWSIL Web service.
b. Select the action you want to complete using the WS callable object.
c. Make sure you choose the CompleteAction operation.
2. Test the callable object in GP design time or include it in a process to test it in runtime.

To test the callable object in design time, you need the process instance ID and action (task) ID as input parameters.
You can retrieve the process ID from NetWeaver Administrator → System Management → Monitoring → Guided Procedures → Process Instances.
You can also retrieve the process ID and task ID from the process URL if you start the GP runtime outside the portal. You start the runtime using the following URL: http://<host>:<port>/webdynpro/dispatcher/sap.com/caf~eu~gp~ui~rtwc/WorkCenterRunTime.