Business Rules in Oracle Process Cloud Service
![Create](/integrationapplicationtalents/sites/hot_iatalents/files/styles/keyvisual_content_xlarge_1488x700/public/2018-12/shutterstock_785650810.jpg?h=e73fab7c&itok=gxOPH7Rb)
In this post I will show an overview of Business Rules in the Process Cloud Service.
First let’s create a new application on the start window of the Process Composer
![Process Composer](/integrationapplicationtalents/sites/hot_iatalents/files/styles/content_image_medium_max/public/2018-12/Afbeelding%201%20blog%20Business%20Rules.jpg?itok=JwlKNBBn)
After the creation of the application you see the Application Home. At the left side you see the following options.
![Options](/integrationapplicationtalents/sites/hot_iatalents/files/styles/content_image_medium_max/public/2018-12/Afbeelding%202%20blog%20Business%20Rules.jpg?itok=Y1oT7HQd)
Let’s select Business Types to create Business Objects
![Business Objects](/integrationapplicationtalents/sites/hot_iatalents/files/styles/content_image_medium_max/public/2018-12/Afbeelding%203%20blog%20Business%20Rules.jpg?itok=y-BYpWVP)
After selecting New Business Object, let’s create a Input Business Object
![Input](/integrationapplicationtalents/sites/hot_iatalents/files/styles/content_image_medium_max/public/2018-12/Afbeelding%204%20blog%20Business%20Rules.jpg?itok=XWdJJ0nH)
![New BO](/integrationapplicationtalents/sites/hot_iatalents/files/styles/content_image_medium_max/public/2018-12/Afbeelding%205%20blog%20Business%20Rules.jpg?itok=M5MkwCGg)
After creating the Input Business Object, let’s create the Output Business Object.
![Output](/integrationapplicationtalents/sites/hot_iatalents/files/styles/content_image_medium_max/public/2018-12/Afbeelding%206%20blog%20Business%20Rules.jpg?itok=6JIJEwva)
![Output](/integrationapplicationtalents/sites/hot_iatalents/files/styles/content_image_medium_max/public/2018-12/Afbeelding%207%20blog%20Business%20Rules.jpg?itok=NeChvphF)
Now we have two Business Objects; BO_Input and BO_Output
![two BO's](/integrationapplicationtalents/sites/hot_iatalents/files/styles/content_image_medium_max/public/2018-12/Afbeelding%208%20blog%20Business%20Rules.jpg?itok=FHWag4QI)
Now we create the Business Rules. Under Business Types we can find Decisions. Let’s create a new Decision
![New decision](/integrationapplicationtalents/sites/hot_iatalents/files/styles/content_image_medium_max/public/2018-12/Afbeelding%209%20blog%20Business%20Rules.jpg?itok=rrVIFbDY)
When creating a New Decision you also must specify the Input and Output Data Objects. This can be done by clicking the blue plus sign.
When you select under type the option “object” you can select the recently created Business Object.
![Select](/integrationapplicationtalents/sites/hot_iatalents/files/styles/content_image_medium_max/public/2018-12/Afbeelding%2010%20blog%20Business%20Rules.jpg?itok=pgSYqupQ)
![Output](/integrationapplicationtalents/sites/hot_iatalents/files/styles/content_image_medium_max/public/2018-12/Afbeelding%2011%20blog%20Business%20Rules.jpg?itok=49CjAD2X)
Now we have a completed Decision.
![Completed decision](/integrationapplicationtalents/sites/hot_iatalents/files/styles/content_image_medium_max/public/2018-12/Afbeelding%2012%20blog%20Business%20Rules.jpg?itok=0qeX462T)
When the create button is pressed we see the next window. Here we can select the rule type. We can select a Decision Table or General If/Then Rule.
The Verbal Rules option which was in BPM 12c I didn’t find yet.
![Verbal Rules](/integrationapplicationtalents/sites/hot_iatalents/files/styles/content_image_medium_max/public/2018-12/Afbeelding%2013%20blog%20Business%20Rules.jpg?itok=FeqnnLPh)
When you create a Rule, there is a default name. This can be changed by clicking properties and fill in a proper name.
![Click properties](/integrationapplicationtalents/sites/hot_iatalents/files/styles/content_image_medium_max/public/2018-12/Afbeelding%2014%20blog%20Business%20Rules.jpg?itok=GXj0keO9)
For this demo I select a simple test and select the BO_Input as a variable for the condition.
![BO_input](/integrationapplicationtalents/sites/hot_iatalents/files/styles/content_image_medium_max/public/2018-12/Afbeelding%2015%20blog%20Business%20Rules.jpg?itok=VzMq8Itz)
Now we have a simple Business Rule.
![simple Business Rule](/integrationapplicationtalents/sites/hot_iatalents/files/styles/content_image_medium_max/public/2018-12/Afbeelding%2017%20blog%20Business%20Rules.jpg?itok=AmkLyopC)
This Business Rule can then be used in a Process Cloud process.
Creating Business Rules in the Process Cloud Service is easy and almost the same as in BPM 11g or BPM 12c.
What I do miss is the Verbal Rules. These were available in BPM 12c and were a very good addition to Business Rules.
Maybe this will be added in the next release or perhaps I looked over it.
Geen reacties
Geef jouw mening
Reactie plaatsenReactie toevoegen