Show TOC

Completing a Step Using Web ServicesLocate this document in the navigation structure

Use

You can complete a step of a running process using the GPActionDiscoveryWSIL Web 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 .

Prerequisites
Procedure
  1. Create the callable object as described in Exposing Web Services as Callable Objects .
    1. Select the destination you created previously for the GPActionDiscoveryWSIL Web service.
    2. Select the action you want to complete using the WS callable object.
    3. 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.
    Note

    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 SAP NetWeaver Administrator → Availability and Performance Management → Process 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.