Browse Category by PCS

OTN Tech Article: PCS, MCS and MAF Integration

I have just published my first OTN Tech Article where I present a use case that demonstrates how Oracle Process Cloud Service (Oracle PCS), Oracle Mobile Cloud Service (Oracle MCS) and Oracle Mobile Application Framework (Oracle MAF) can be use together to expose  an Oracle PCS process instance as a web service and consume it from an external system, web application or mobile application.


Oracle Process Cloud Service is a Platform as a Service (PaaS) provided by Oracle Cloud, allows you to rapidly design, automate, and manage business processes in the cloud.


Oracle Mobile Cloud Service is Oracle’s Mobile Backend as a Service (MBaaS) and enables companies to create and deploy scalable, robust, and secure mobile applications quickly and easily.


Oracle Mobile Application Framework is a hybrid mobile framework that provides a visual and declarative development experience for the rapid development of multi-platform applications

You can check the full article here: https://community.oracle.com/docs/DOC-996644

PCS: Form rules in human tasks

In Oracle BPM it is possible to use Oracle ADF to implement Human Tasks, but in Oracle Process Cloud Service you can only create a form using web forms. Creating a form is an easy task and it offers us to define rules that it gives us a lot of flexibility to achieve complex requirements.

Having this simple form. We can navigate to rules clicking on the marked button.

For each of the elements we have a number of properties or events that we can manage,
For example we can manage form load event, or get if a field value is valid…

To build the rules we have to use JavaScript and we can get code snippets if we click on the button next to each of the properties.

Let’s build a couple of rules so you can see how easy it is.
Having this combo with this value.

We can build a rules that populates that combo and also add some kind of value change listener so if its value is “Spain” we can set the country code in Telephone field.

If we have any syntax errors, will be displayed in the bottom of the editor.

Once the error is fixed we can test the form clicking on the marked button.
We can see that the combo is now populated and if we select Spain, the country code is set.

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.