REST

A service for calling a REST service.

Parameters

UrlStringThe Url that needs to be invoked
MethodStringOptional, the method of the invocation (like GET, POST), default = GET
UsernameStringOptional, the username used for basic authentication
PasswordStringOptional, the password used for basic authentication
ConnectTimeoutStringOptional, the connect timeout of the connection, default = 60000 (60 seconds)
ReadTimeoutStringOptional, the read timeout of the connection, default = 60000 (60 seconds)

Results

ResultStringThe result returned by the REST service
StatusStringIf the service returned an error response, this will contain the error response code
StatusMsgStringIf the service returned an error response, this will contain the error response message

Handler

org.jbpm.process.workitem.rest.RESTWorkItemHandler

Username and password for basic authentication can be passed at construction time: RESTWorkItemHandler(String username, String password).