Showing posts with label Process Cloud Service (PCS). Show all posts
Showing posts with label Process Cloud Service (PCS). Show all posts

Friday, May 10, 2019

#707 Oracle Process Cloud - linking to a process instance

Use case here - Customer wants a process creator to be notified when a process has completed.
In this case, an email containing a link to the process history in Workspace.















The link should bring me here -
























The link has the following format -
(thanks to my esteemed colleagues Eduardo and Sudhakar for this)

https://yourOIC/ic/process/workspace/faces/jsf/instance/pcsAuditTrailPage.jspx?instanceId=yourProcessInstanceID

I try this out with the my instance id -




















Now to my process - not the most complex of processes, I'm sure you will agree.















I add a Notification activity before Completed















and also a Data Association -

















The variables are then used to construct the email.











Tuesday, July 24, 2018

#641 Decisions in OIC (Process)





I define my input as follows -


























So now to the 2 simple rules -


















IF/THEN rule and a Decision Table -
























The rules are self-explanatory.

I want to expose these as 2 separate services -





















I now Activate -






























Back in the Process App -

























Now I drop a Decision Activity in my process -

























Very succinct!

Now all I need to do is the data mapping -

Input












and Output -













Wednesday, August 30, 2017

#595 XPaaS - Using PCS to on-board new API Platform users



Self-registration is on the roadmap for API Platform CS, in the meantime, you can easily use PCS to do the onboarding for you.

Here is a simple scenario -


Internal folks should be able to register for one of the following roles -

  • API Developers
  • API Managers
  • Gateway Managers
A manager will then approve/reject such requests.

So what do we need to implement this?

1. A data entry form
2. A REST service to create a user in the Identity Mgt system of APIP CS.
3. A REST service to assign one of the APIP CS roles to the newly created user.


All of this can be done very easily in PCS.


Here is the form that kicks off the process- 



Here is the PCS Connector to my APIP CS Identity Mgt system - I use the REST API to
interface with this.























As you can see, there are 2 resources - createUser and addUser2Group - self explanatory!

Here is the basic PCS process - Somebody requests access to APIP CS. Another person, our
API Manager, will approve or reject this request. The user is created and assigned the selected
APIP CS role.















So how about we augment this somewhat - let's display some APIs to the successful candidate. 

I now add a REST connector to APIP CS.
I will leverage this to display some public APIs.

Here is the APIP CS api I need to call - a call example using Postman -


















I use the above url as the basis for my REST Connector definition in PCS -
















I have augmented the process as follows -

















I check out the public apis in my APIP CS Developer Portal -

As you can see, I only have one -
















I now deploy and test the process -

























The approver approves -

























I then see the public apis -

























I also get an email with a link to the APIP CS management or developer portal - depending on the role







Now this is a simple example of what one can do by combining Oracle PaaS Services.

You could augment this further by displaying the APIs from the developer portal and letting the user select one or more for API Registration.
API Registration involves creating an application within APIP CS and then registering the api with
the newly created application.

How would you go about doing that?

Begin by checking out the APIP CS REST API docs on docs.oracle.com




















I begin by testing this in Postman -


















I validate in API Platform Developer Portal -













I create a new connector in PCS for the APIP CS Mgt Service -
















Remember - the REST APIs are your oyster - go explore!

Wednesday, July 19, 2017

#588 Oracle has been named a leader in the Forrester Wave Digital Process Automation Software


Rock on Oracle Process Cloud Service (PCS)




Oracle was cited by Forrester as a leader 

with the highest possible scores for the following -

·        Low-code/no-code
·        Smart forms and user experience
·        Process flow and design
·        Mobile engagement
·        API support
·        Data virtualization
·        Deployment options
·        Ease of implementation



Read all about it here

Tuesday, July 18, 2017

#586 - PCS - features --> computed fields, notify activity, doc initiated processes

Just a short post about some features I have been asked about.

Adding computed field to a form 

Here is my Business Object -

















I want to add a computed field to the form for the total price
(quantity * unitPrice)

Here is the basic form -
























I add an extra field to the form - totalPrice and
configure as follows -



































Setting email variables in Notify Activity


Here is my simple process -












I edit the EmailCustomer activity -

First step is to set the recipient -

















Easy enough, now to the email subject - this I can set by concatenating
process variables. One, is my default text; this I concatenate with the product.









I can adopt the same approach for the email body.

Document Initiated Process

Here I have a very simple process that is initiated by the arrival of an order doc -


I have created an incoming document - newOrder











I deploy the process - and assign the role to the Docs user
configured in the PCS workspace -












As you can see, my user is cloud.admin.














Now I go to Docs CS and create a new folder for incoming orders -











I set the properties as follows -





















I create an order doc -














and upload it to Docs CS -















Check PCS Task List -












The form is rather basic - I do agree!






































but you get the idea!