About This Recipe

This recipe demonstrates how you can use the for-each action to iterate through an array of credit cards, and calculate the total balance of the credit cards.

To use the recipe, you must install the recipe and configure the connection and other resources within it. The recipe contains the integration Oracle SOAP Library Calculator ForLoop. To run the integration, the input you provide must use WS-Security UsernameToken authentication and specify a user, a password, a token, and a time stamp. When the integration flow of the recipe is triggered, it receives an array of credit cards in the SOAP request. Subsequently, the recipe calculates and logs the total balance of all the credit cards in the array. It uses the JavaScript library Oracle-Library-Calculator to add up the total balance, and the logger action to log the result to the activity stream.

System and Access Requirements

  • Oracle Integration, Version 24.04 or higher

  • Oracle-Library-Calculator JS Library