We have been receiving queries if we can add custom function libraries to Oracle Flow Builder, the answer would be a straight yes. In this article we will walk you through the steps as how we can add custom function library to Oracle Flow Builder.
Create function library and export the function library
- Create a function library in openscript , to know more in detail check out how to create function library in openscript?
- Click File > Export.
- Specify a file name for the zip file.
- Clear the check box option “Create self-contained” zip.
- Under Additional files to export, clear the Recorded Data, Playback Results and Error Log options.
- Click OK to save the file.
Steps to import custom function library in to Oracle Flow builder
- Login in to Oracle Flow Builder with Administrator privileges.
- Click on Administration main menu,
- On the left side under “Setup” section, click on function library,
- Click on “Add New Library”.
- Browser your exported custom function library.
- Enter ebs-function-libs in “Location in Repository” field.
- Click Import Functions button.
Once the import process is successful, one can start using the functions while creating the components. Also all the functions written in the custom function library will be available.
How to execute the scripts with custom function library?
Though we could successfully upload the custom function library, there are few steps to be performed which will let us to execute the scripts properly. In the machine where end user plans to have script execution need to have a Repository by name “OATS” , this is the path where we need to extract the function-libs.zip file which is given by Oracle Flow Builder. On unzipping we get a folder by name ebs-function-libs, which contains all the default function libraries given by Oracle Flow Builder. We need to have all our custom library function libraries in the same location for the script to execute successfully.
Other important notes
- Once the function library is added, we will not be able add any additional functions to the function library. Oracle Flow Builder currently does not support to do the same from front end.
- Once the function library is added, we cannot delete them from Oracle Flow Builder, Oracle Flow builder currently does not support his functionality from front end.
May be they would come in later versions of Oracle Flow Builder.
Please feel ask your queries in the comments area, I would try my best to find an answer for you.
Founder of TestingTools.co, constantly shares knowledge on different test automation tools. Has experience in building proof of concepts, solutions, frameworks, platforms & implementation of test automation projects.
In pursuit of building a platform with inbuilt framework and reusable components for Oracle Cloud applications ( Oracle HCM, CX, SCM, Financials clouds, Salesforce and other cloud applications )
Major accomplishments in his career:
Product architect and development manager for test automation platforms
Oracle Flow Builder @ Oracle
CloudTestr @ Suneratech
2 times to oracle open world
More than 20 successful POCs ( Proof of concepts )
Designed pricing models.
Trained more than 50 members.
Built more than 100 re-usable functions.
Worked with tools: