Connect via SOAP API

A list of all available services is provided at the address http://<ServerName>:<FireStartWebServicePort>/PesWS.asmx. For authentication, username, password, and domain are passed as arguments in the service call.

Start a Process 

Here is an example of how you can start a workflow using a soap web service. The methods are: BeginTransaction, SetTransactionParameter, SendTransactionStartEvent.

# Create a proxy for the Paging web service

$page = New-WebServiceProxy -Uri $currentUri




# Begin Transaction: returns TransactionID

if ($messaging) {

    $transactionID = $page.BeginTransaction($processID)

} else {

    $transactionID = $page.BeginTransaction($EventElementID)

}

$transactionID




$page.SetTransactionParameter($transactionID,"Titel","Event01")

$page.SetTransactionParameter($transactionID,"Ort","techcEnter")

$page.SetTransactionParameter($transactionID,"Anfangszeit","30.10.2014")

$page.SetTransactionParameter($transactionID,"Endzeit","31.10.2014 10:00:00")

$page.SetTransactionParameter($transactionID,"Beschreibung","Meine Beschreibung")




# StartTransaction(TransactionID)

$executionID = $page.SendTransactionStartEvent($transactionID,$domain,$username,$password)

$executionID

Raise an Intermediate Event 

An intermediate event is raised in the same way as a workflow is started, except instead of the SendTransactionStartEvent method the SendTransactionIntermediateEvent method is used.