Jump to content

Getting to Know Property Manager in iWay 9.2


Recommended Posts

iWay Integration Tools (IIT) enables users to design and implement simple to complex integration patterns.  Components of these implementations often share similar properties whose values may change over time or when deployed within different environments such as a development, test or production deployment. The challenge then becomes how to manage these properties in organized predictable manner. This usability challenge is clearly evident when designing flows within IIT's flow editor. IIT's flow editor comes equipped with a tool named Property Manager. Its main objective is to allow users to define variables which then will appear throughout the editor when assigning a value to a component property. When a user wishes to change the value of the property they do that in property manager and all components referencing that variable inherit the new value.

 

Lets take a look at this in action. 

Here we have a flow named, simpleflow opened up in IIT's flow editor. This flow will use the File Connectors, "copy a file" action to copy a file from a source to  target directory.  

 

2024-02-29_11-26-12.thumb.png.c740d71a8e320062ce41dcc33559eba7.png

 

Now we could just type in the paths into the connectors source and target properties, but what if these paths were used often in a more complex flow. What if in the future these paths changed ? To make our lives easier  lets just create a couple of variables utilizing Property Manager.

 

2024-02-29_11-55-53.thumb.png.df62a2d33eeb768650708479a6c6d6fe.png

 

As  users who know about "Property Manager" as of 9.2 this functionality is now embedded into the flow editors' canvas as shown above. We have created a sourceFile and targetFile variable. IIT now makes this variable available for assignment as shown below.

 

image(18)(1).thumb.png.ca1e245a6c881614b1e92bf74a8c09de.png

 

By selecting the $sourceFile variable IIT will use its value and assign it to the "File Name" property of the File Connector.  We do the same for the Target File Name as shown below 

 

2024-02-29_12-08-56.thumb.png.574b1215768564f36f901eebc422c2f4.png

 

When the flow is compiled... the compiler substitutes the values of these variables into the flow. Where ever a design time variable is used noted by the "$" sign the compiler will do the appropriate substitution. All variables are created and maintained in a single view make management a snap. If the values of these variable change you only have one place to perform the edit.

For advanced users you might want to create a variable in property manager which evaluates to a runtime variable.  In that case.. the evaluation will occur based on the running environment. In our use case above the file paths most likely won't be known until the application is deployed in a runtime environment.

The many uses of runtime variables and how they are set will be covered in another topic.


 

Link to comment
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
×
  • Create New...