Note |
---|
This actionhandler is not supported anymore. |
Description
This handler sends an HTTP message with the passed parameters. If the parameter ADDBLOGARTIKEL ADDBLOGARTICLE
=true
is set, then the result is attached to the instance as a note.
...
Class
Code Block |
---|
com.dooris.bpm.actionhandler.HTTPRequestHandler |
Parameter
Parameter | Default value | Description | Valid examples | ||
---|---|---|---|---|---|
| HTTP_HOSTNAME This parameter contains the UrlURL, to which the parameters should be sent. | ||||
| Parameters that are to be sent. The various parameters are separated by the entry NEXTPARAMETER. | ||||
| Parameters that are to be sent. The various parameters are separated by the entry NEXTPARAMETER.
| ||||
| Here, the transaction results are stored. | ||||
|
| Tells if the reply to the request should be logged out. | |||
|
| Tells if the request should be logged. | |||
|
| Tells if the reply should be attached to the process as a note. |
Example:
In this example, a request to create a new user is sent. The POST_
PARAMETER parameter PARAMETER
is used to pass the user data, such as the user ID, the name, and the email.
The content of the POST_
PARAMETER parameter PARAMETER
also contains HTML code (<br/> tags). To avoid a transaction error, the method content must be embedded in the addition <![CDATA[...]].
The result of the data transfer is then stored in HTTPRESPONSEART
.
HTTP_HOSTNAME
=http://examplehost.com/loom-portal/custom/test/user-data.html
POST_PARAMETER
=<![CDATA[userId=${userId}NEXTPARAMETERuserName=${userName}NEXTPARAMETERmessage=Please create the requested user according to the following information<br />Email: ${userEmail}<br />Department:${department}<br />superior:${supervisor}]]
HTTPRESPONSESTART
=sapTicketNr