Skip to content

The transform feature lets you perform various operations on the input data in order to help you customize your workflow output or the data you send to the next action. This feature is available in all actions supported by webMethods.io Integration.

License

Notifications You must be signed in to change notification settings

SoftwareAG/webMethods-io-Transform

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

18 Commits
 
 
 
 

Repository files navigation

webMethods.io-Transform

Getting Started

The transform feature lets you perform various operations on the input data in order to help you customize your workflow output or the data you send to the next action. This feature is available in all actions supported by webMethods.io Integration.
In webmethod.io there are manny transform available for use wrt different data type. Please click on the hyper links to get more details about each data type's Transform.

  1. Array
  2. Date
  3. JSON
  4. Math
  5. Util
  6. Object
  7. String

Creating a workflow with transform

  1. Log in to your webmethod.io account then go to webMethods.io Integration.
  2. Create a new workflow under a Project.
    image
    image
  3. Go to the search pannel on the connector list and search Logger.
    image
  4. Now put this logger in your work flow.
    image
  5. Now Double Click on the Logger and click Next. On the next window you will get a option Transform Click on that. image
  6. Now Click on add new. Give the transform a name and select Transform data which Transform you want to test. image
  7. Now you can provide hard coded values or use a weebhook to pass the values to the transfrom. Click Done. image
  8. Now the transform output data to logger Input And click Next and Done. image
  9. Now connect the whole workflow Start to End. image
  10. Now Run the WorkFlow. In the logger you will see the result of the transform. Here you can see the length of the string. image

Using webhook to pass the data.

  1. Open the logger and hover over the transform name. You will goin to see a edit icon there Click on that icon.
    image
  2. Now from the Action Configure window cheack what are the input the transform need and its datatypes. Here the transform only need one input and data type is string.
    image
  3. Configure a JSON object wrt the input.
    if the inputs are a string and a array, configure the JSON as
    {"data1":"string","data2":[1,2,3,4]}
    Here the tranfrom need only one input we will configure the JSON as
    {"data1":"Anshuman Saikia"}
  4. Now double click on the start .
    image.
  5. From the list click on webhook.
    image
  6. Click Next.
    image
  7. From the next window coppy the link. image
  8. Now open the Postman and paste the link. And also paste the configured JSON data in the body. keep the body type as raw and formate as JSON Click on Send. image
  9. Go to your browser and click on Fetch on your webhook. After data has been fetch successfully click on Next. image
  10. Select and on the Auto Connect return data option and click Next. and Done. image
  11. Now Connect the webhook with the logger and then logger to Return data on Synch and then to Stop. image
  12. Open the Logger And go to the Transform Configure window. image
  13. Expand the webhook and map the data to the transfrom input fields. Erase the previous data from the input fields.. Click Done and Next. image
  14. Now click on Test and Done. image
  15. Now double click on return data on sync webhook connector and map the logger output data to response data. Click Next. image
    1. Now click on Test and Done. image
  16. Now hover over the weebhook and click on settings icon and coppy the link. image
  17. Go to the postman and replace this link with the previous one. Send we will going to get the output as response.

For more details please click here.


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.

Contact us at TECHcommunity if you have any questions.

About

The transform feature lets you perform various operations on the input data in order to help you customize your workflow output or the data you send to the next action. This feature is available in all actions supported by webMethods.io Integration.

Topics

Resources

License

Stars

Watchers

Forks