Following instructions will get you a copy of the specific Array transform in your webMethods.io Integration tanent. List of array transform available in the webMethods.io Integration are:
- Chunk : This operation lets you split the given array into specific number of chunks.
- Filter: This operation lets you filter out only specific elements of the given array based on the specified condition(s).
- Index Of: This operation lets you get the index of the first occurrence of the specified value in the given array (traversal is left-right). If the specified item doesn’t exist in the array, it returns -1 as the output.
- Is Array: This operation lets you get check whether the given input is an array or not. If its array it will return true, otherwise it will return false.
- Join: This operation lets you join some or all elements of given array with the specified separator.
- Last Index Of: This operation lets you get the index of the first occurrence of the specified value in the given array (traversal is right-left). If the specified item doesn’t exist in the array, it returns -1 as the output.
- Merge: This operation lets you merge two or more arrays.
- Pick: This operation lets you pick certain properties from the given array.
- Pop: This operation lets you remove the last element from the given array.
- Push: This operation lets you push one or more elements to an existing array.
- Remove: This operation lets you remove the specified element from an array.
- Reverse: This operation lets you reverse the elements of the given array.
- Size: This operation lets you retrieve the size of the given array.
- Splice: This operation lets you remove one or specified number of sequential elements from the given array.
- An account in webmethod.io with webMethods.io Integration access.
- Download the specific zip file which transform you want test, from this github page. ie click here
- Log in to your webmethod.io account then go to
webMethods.io Integration
. - Select
Reciepes
the click onImport
. - Then select the downloaded file and click on
open
. - After that you will be able the workflow in your recipie list.
- Click on that workflow and then select the project name where you want to import the workflow and click on
Done
. - After that you will see a short description about that transform along with the workflow name. Click on
Import
here.
Yeee now you have succesfully imported the work flow.
- Go to that specific project where you have imported the workflow. Hover over the workflow that you have imported and click on
edit
. - Click on the
edit
icon present in the top left corner. . - Now go to the workflow description and coppy the requested body.
only the JSON part
. And clickDone
. - Now
double click
on the start . . - From the list click on webhook.
- Click
Next
.
- Now paste the coppied data in to the body and click
Next
and thenDone
. - Now run the workflow it will give you output in the logger. Here you can see the array after a pop.
- Open the weebhook and change the data inside the body. Donot change the key value and the formte of the data. ie. "data1" is key here and ARRAY is the formate of the data.
- Now run the workflow it will give you output in the logger. Here you can see the new array after a pop.
These tools are provided as-is and without warranty or support. They do not constitute part of the Software AG product suite. Users are free to use, fork and modify them, subject to the license agreement. While Software AG welcomes contributions, we cannot guarantee to include every contribution in the master project.