Skip Ribbon Commands
Skip to main content
SharePoint

Initiate a Process via a Web Service - Web Service URL and Method

The general form of the URL to initiate a Process is:

 

http://<Workspace Server Name>:<Port Number>/Bluespring/<Runtime Environment Name>/<Solution Name>/<Process Name>/<Initiator Activity Name>/Initiator.ashx

 

The URL elements are:

  • <Workspace Server Name>: the name of the Server to which you installed the Workspace Service
  • <Port Number>: the value of the Port Number to which you installed the Workspace Service
  • The Bluespring folder
  • <Runtime Environment Name>: the name of the Runtime environment, which corresponds to the name of the database for a Runtime environment
  • <Solution Name>: the value of the Solution Name for the Process being initiated, as it appears in BPM5 Designer's Solution Explorer
  • <Process Name>: the name of the Process being initiated
  • <Initiator Activity Name>: the name of the Initiator Activity where you wish to start the Process
  • Initiator.ashx: the Web Service being called

 

For example, in the above screen shot, the URL to initiate Test Services from the Receive File Monitor Event Initiator in the RuntimeTest environment is:

http://WorkspaceServer.BluespringSoftware.com:9000/Bluespring/RuntimeTest/Test Installation/Test Services/Receive File Monitor Event/Initiator.ashx

Note: the URL will exist if, and only if, you have previously Published the Solution to the Runtime Environment specified. Additionally, any changes to solution or process data items will not be reflected until the solution has been re-published.  For example, let's assume I have Published "Test Installation" to the RuntimeTest environment, but not the RuntimeProduction environment.  Then, no Web Service exists at: http://WorkspaceServer.BluespringSoftware.com:9000/Bluespring/RuntimeProduction/Test Installation/Test Services/Receive File Monitor Event/Initiator.ashx

The Initiator.ashx Web Service contains a single Method: CallStart, with several Parameters:

  • runspaceID

  • processInstanceID

  • data: the value of Data Items, separated into

    • DataItems: Solution Data Items

    • DataItems1: Process Data Items

Last modified at 7/31/2020 10:44 AM