Tuesday, July 6, 2021

OIC - Integration properties

Why we need Integration properties and uses:

  • OIC allows us to externalize the properties whose values can be updated without modifying the integration.
  • Developer can define the properties with their default values.
  • Max 10 perperties can be created per integration.
  • These properties values cant be modified inside the integration using any action like assign.
  • This feature is available in both app driven and scheduled orchestration. 
  • You can update the integration properties value from outside of the regular integration design time.
  • To override the integration properties, for scheduled integration - it must be in active state and for app driven - it must be in draft or configured state.
  • Integration properties are user defined properties available for usage by activities like Notification, Log etc. as read only data.

Use case
: we will create 2 intergration properties To and From to use them to notify email in a app driven orchestration.


Steps:

Step1: Create an app driven integrarion and drag and drop a rest trigger connection and set response as below:

{

"status": "messgae sent"

}

Step2: Click on the rest trigger and click on more actions and click on edit integration properties.

Add the parametes From and To and set their default values.

Close

Step3: Drag and drop Notification from action and assign these 2 paramaters From and To and provide some default value to subject and body.

Step4: Save and add a tracking like rest method etc.

Save and it will be now in configure state.

Step5: Go to the integration actions and click on update property values. Click on respective parameter and update with new value if needed. And submit it.

Step6: Activate and test.


No comments:

Post a Comment

Featured Post

11g to 12c OSB projects migration points

1. Export 11g OSB code and import in 12c Jdeveloper. Steps to import OSB project in Jdeveloper:   File⇾Import⇾Service Bus Resources⇾ Se...