PCS: Starting a process instance remotely
While implementing an Oracle Process Cloud Service PoC we had the requirement to allow users to start an instance using a form in their custom mobile application and also using the workspace.
We have a ‘Form Start Event’ so users can start the instance thought the workspace. We also added a ‘Message Start Event’ in order to publish it as a web service.
Having that process deployed, if we head to ‘Deployed Applications’ in workspace main page.
And click on the button in ‘Actions’ column.
We can see the web services exposed.
If we use that wsdl url in soapui we see that we have 2 operations, one for each of the start events.
Executing both, we can see that even using ‘Form Start Event’ we can start a process instance remotely as an operation is automatically created in the web service, so we can remove the ‘Message Start Event’ as we can meet both requirements just using the ‘Form Start Event’.
If we open aproval form in the workspace we can see that the data sent from soapui has been successfuly sent.