Request

This property box lets you specify what instructions you want the HTTP Web Request activity to give to the Web service. Use the Web service's API to specify your requests.

To configure a request

  1. Add the HTTP Web Request activity to your workflow definition by dragging it from the Toolbox Pane and dropping it in the Designer Pane.
  2. Select the activity.
  3. In the ClosedRequest property box, configure the information you want to request.
  4. Next to URI, provide the URI component of the web request's URL. The URI is used in combination with the host name and port to create a complete URL. Click the Token button (right arrow) to use tokens.
  5. Example: If you specify http://www.google.com as the host and you want to request information from a Google calendar, /calendar is the URI.

    Note: The forward slash character "/" is treated as an escape character in token syntax. If you include a token as part of the URI and you want the token to follow a "/", ensure that two slashes precede the token. For example, if you wanted to insert a token after the URI "/api/app/", and you use URI "/api/app/%(RetrieveFieldValues_Policy Number)", the percent sign "%" would be escaped. Instead, you must include two slashes as in "http://mywebsite/api/app//%(RetrieveFieldValues_Policy Number)". Learn more about token syntax

  6. Choose a method from the drop-down menu:
  7. If you choose POST or PUT:
  8. Next to Timeout, specify how long the activity will wait for a response from the Web service. If the time period is exceeded, the workflow will report a warning for this activity. It will then continue, without waiting any longer for a response. Click the Token button (right arrow) to use tokens.
  9. Click the Test Request link to ensure your request works. More info.