For partners that build or integrate commercially available applications and service solutions with the Oracle Cloud Platform
For partners that provide implementation or managed services around Oracle Cloud Applications
In Oracle VBCS how can we send mail to the Users attached to particular VBCS Role.
For Example:
Suppose I have two Roles Creator and Approver. So, when users having "Creator" Role creates some record in VBCS BO then I want to send mail to the users having "Approver" role. How this business scenario can be achieved.
You will need to get the list of users that are in a specific role - assuming those are defined in Oracle Identity Cloud Service, you should be able to get this through their REST APIs:
https://docs.oracle.com/en/cloud/paas/identity-cloud/rest-api/index.html
Then you need to decide if you want to use a mail service exposed as REST somewhere - or potentially use the mail sending capabilities in VB's business objects (for that you might want to create a service method that sends emails).
One more thing to consider - Oracle has the Process Cloud Service that is specifically built for doing these type of approval scenarios - and VB has built in integration with it. For example:
https://www.youtube.com/watch?v=E6Uv7f_3Hs4
If we use PCS then how we will sync VBCS Roles into PCS and process the approval process. I saw that only 3 Roles available in PCS which are Process Owner, Process Reviewer and Analytics Viewer but I am not able to see any of the VBCS Roles or IDCS Synced SaaS Roles inside PCS.
PCS and VB are both part of an Oracle Integration Cloud instance - and therefor share the same user identities and roles.
Make sure you are using the VB that is part of your OIC instance:
In VBCS I am able to see the Roles which are available from IDCS.
This is probably a question for the PCS forum then.
You should be able to assign the PCS roles to users and groups in IDCS see:
This is probably a question for the PCS forum then.
You should be able to assign the PCS roles to users and groups in IDCS see:
Assigning and Managing Roles