Skip to content

Following instructions will get you a copy of the specific Array transform in your webMethods.io Integration tenant.

License

Notifications You must be signed in to change notification settings

SoftwareAG/Transform-Array

Repository files navigation

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 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
  2. Log in to your webmethod.io account then go to webMethods.io Integration.
  3. Select Reciepes the click on Import. image
  4. Then select the downloaded file and click on open. image
  5. After that you will be able the workflow in your recipie list.
    image
  6. Click on that workflow and then select the project name where you want to import the workflow and click on Done. image
  7. After that you will see a short description about that transform along with the workflow name. Click on Import here. image
    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. image
  2. Click on the edit icon present in the top left corner. image.
  3. Now go to the workflow description and coppy the requested body. only the JSON part. And click Done. image
  4. Now double click on the start . image.
  5. From the list click on webhook.
    image
  6. Click Next.
    image
  7. Now paste the coppied data in to the body and click Next and then Done. image
  8. Now run the workflow it will give you output in the logger. Here you can see the array after a pop.
    image

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.
    image
  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 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.

About

Following instructions will get you a copy of the specific Array transform in your webMethods.io Integration tenant.

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published