Skip to main content

Notice: This Wiki is now read only and edits are no longer possible. Please see: for the plan.

Jump to: navigation, search

Stardust/Knowledge Base/Web Service API/Starting Processes with Document Attachments

< Stardust‎ | Knowledge Base‎ | Web Service API
Revision as of 01:40, 29 February 2012 by Unnamed Poltroon (Talk)

(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)

This example demonstrates how to start a process instance with document attachments using the WS-API.

Create a simple process with ID: "TestProcess1"

Stardust Process Instance Document Attach WS API

Enable Process Attachments

Stardust Process Instance Enable Process Attach

One manual activity to show the data submitted on process start and to allow checking if the document is added as process attachment.

A manual trigger is not required to allow process starts via the WS API.

Stardust Process Instance Manual Activity

In Stardust version > 5.2 WS Security (optional) is supported. Hence the WSDL URLs for http basic authentication have changed. The new URLs are:






After starting the server, it should be possible to import the WSDL into SOAP UI or to read it with another client


  • Start an instance of the example process TestProcess1
  • Submit a value for the process data TestStringData
  • Attach a text document to the process
<soapenv:Envelope xmlns:soapenv="" 
         <!--type: string-->
            <!--Zero or more repetitions:-->
               <!--type: string-->
               <api:primitive>My test data</api:primitive>
         <!--type: boolean-->
            <!--Zero or more repetitions:-->
                        <api:description>My document description</api:description>

The credentials to be used for the login to the Stardust service (http basic authentication, motu/motu) can be changed in the properties of the request.

Stardust Create PI Acess Service

After a successful execution of the example startProcess request on IWorkflowServiceSoapBinding, a new work list entry for the Administrator should exist:

Stardust PI Worklist

The activity panel which opens for this work item should show

  • The submitted process data
  • The document attached to the process

Stardust Create PI Activity Panel

Back to the top