Transformation is one of the core areas of an iPaaS solution. In the case of APPSeCONNECT Integration Platform, transformation is done through the mapper node, which uses the APPSeCONNECT Expression Language to transform the data from one data format to another.
But data transformations are not that simple. Sometimes data is not present in the source packet and a separate call needs to be made to the program to ensure smooth execution of the transformation block. Hence, we need functions!
Have you heard of FaaS (Function-as-a-Service)?
Functions are the unit of execution for any programming language. In APPSeCONNECT, we allow you to create functions on the fly and then refer the same in your program, such that the function can perform your complex tasks, like calling the connector, or even rewriting the whole object structure, etc. The function gives the implementer an additional boost to play with any complex logic which is required during execution.
A function acts as a service here. We create the function using the web-based editor, and the entire code is validated and stored. Once the function is created, it is stored in a library and can be used as a service whenever required.
During transformation, you can refer a function, which can do a complex transformation and directly give you an output of that. You can also use the same function in various other areas of APPSeCONNECT, which gives you additional capabilities as an implementer to go beyond what you are capable of doing through the options.
Integrate your SaaS or on-premise applications, data, technologies with APPSeCONNECT. Request a Free Demo Now!
Here you can see that we can define the entire function directly from the web interface. This will help you to orchestrate the output in such a way so that it perfectly fits your output XML structure. Now, once you have created the function, the web interface will allow you to validate directly in the interface and see if the code is compiled correctly or not.
When you compile, you will see the line number where any problem has occurred, hence giving you an opportunity to do everything from a single interface!
You see, ‘imageArr1’ is not defined in the current context, and hence it is showing us the problem. After you fix this issue, you can finally see all code is validated correctly.
The development environment also gives you different code snippets, this will allow you to use code snippets directly, without writing the code.
Here are some sample code snippets, which will help in every step to create your function correctly.
Conclusion
Even though most of the features in APPSeCONNECT do not need you to create Cloud Functions, having it as an option gives you huge flexibility and you can customize your integration logic whenever and however you need.
I hope the feature will help you immensely.
We will be back with more updates on APPSeCONNECT features. Stay tuned!
Get Started with APPSeCONNECT to unlock unlimited Business Process Automation through one platform. Start Free Trial Now!