Monday, November 25, 2024

1044 OIC Integration Basics - Lab 10 Integration Variables

Simple Variables

We have already created some variables in OIC via the Assign action - 



These variables are available throughout the lifespan of the integration flow. 


I now add a scope to my integration and add an Assign to it - 

This variable is only visible within this scope.

Schedule Parameters

These parameters "live" beyond the execution of a flow. So they can be used to "push" values from one flow to another.

The parameters are visible when you run a scheduled integration - 


They can also be set during the execution. e.g. I include a new parameter, dateLastRun and set this at the end of the integration - 



I run the integration - 

I run again, and see this parameter has been set - 

Property Values

Use properties to allow runtime overrides of properties defined at designtime. For example - I have a property adminEmail, which I use in Notification actions. This is set to niall@commiskey.com. I now need to send the emails to my new admin johanna@commiskey.com, so, instead of having to edit the integration, I just change the property.

Integration properties can be defined for scheduled and app-driven integrations -

I can update the property values, while the integration is not activated - 



I can only view the property, once the integration has been activated - 















Global Variables

These variables are available throughout the life of the integration flow. As opposed to the simple string variables created via Assign, these can also be of complex type. The types available are those attached to the integration trigger or invokes.



























 

No comments: