https://github.com/ibm-wm-transition/transform-array
Following instructions will get you a copy of the specific Array transform in your webMethods.io Integration tenant.
https://github.com/ibm-wm-transition/transform-array
webmethods webmethods-io-integration
Last synced: 4 months ago
JSON representation
Following instructions will get you a copy of the specific Array transform in your webMethods.io Integration tenant.
- Host: GitHub
- URL: https://github.com/ibm-wm-transition/transform-array
- Owner: ibm-wm-transition
- License: apache-2.0
- Created: 2020-07-30T09:51:17.000Z (almost 6 years ago)
- Default Branch: master
- Last Pushed: 2025-06-27T20:42:13.000Z (11 months ago)
- Last Synced: 2026-01-21T09:45:10.490Z (4 months ago)
- Topics: webmethods, webmethods-io-integration
- Homepage:
- Size: 332 KB
- Stars: 0
- Watchers: 0
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# Transform-Array
## Getting Started
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:
1. Chunk : This operation lets you split the given array into specific number of chunks.
2. Filter: This operation lets you filter out only specific elements of the given array based on the specified condition(s).
3. 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.
4. 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.
5. Join: This operation lets you join some or all elements of given array with the specified separator.
6. 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.
7. Merge: This operation lets you merge two or more arrays.
8. Pick: This operation lets you pick certain properties from the given array.
9. Pop: This operation lets you remove the last element from the given array.
10. Push: This operation lets you push one or more elements to an existing array.
11. Remove: This operation lets you remove the specified element from an array.
12. Reverse: This operation lets you reverse the elements of the given array.
13. Size: This operation lets you retrieve the size of the given array.
14. Splice: This operation lets you remove one or specified number of sequential elements from the given array.
### Prerequisites
1. An account in [webmethod.io](https://www.softwareag.cloud/site/product/webmethods-io-integration.html) with webMethods.io Integration access.
### Importing the recipie to your webMethods.io Integration tanent:
1. Download the specific zip file which transform you want test, from this github page. ie [click here](https://github.com/SoftwareAG/Transform-Array/blob/master/Transform%20Pop.zip)
2. Log in to your webmethod.io account then go to `webMethods.io Integration`.
3. Select `Reciepes` the click on `Import`.

4. Then select the downloaded file and click on `open`.

5. After that you will be able the workflow in your recipie list.

6. Click on that workflow and then select the project name where you want to import the workflow and click on `Done`.

7. 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.
### Run the workflow:
1. Go to that specific project where you have imported the workflow. Hover over the workflow that you have imported and click on `edit`.

2. Click on the `edit` icon present in the top left corner.
.
3. Now go to the workflow description and coppy the requested body. `only the JSON part`. And click `Done`.

4. Now `double click` on the start .
.
5. From the list click on webhook.

6. Click `Next`.

7. Now paste the coppied data in to the body and click `Next` and then `Done`.

8. Now run the workflow it will give you output in the logger. Here you can see the array after a pop.

### Test With other input:
1. 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.

2. 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 webMethods product suite. Users are free to use, fork and modify them, subject to the license agreement. While we welcome contributions, we cannot guarantee to include every contribution in the master project.