Skip to content

ibm-wm-transition/Transform-Date

Repository files navigation

Transform-Date

Getting Started

Following instructions will get you a copy of the specific Date transform in your webMethods.io Integration tanent. List of Date transform available in the webMethods.io Integration are:

  1. Calculate Date Difference : This operation lets you calculate the difference between two given dates.
  2. Compare Dates: This operation lets you compare dates to check whether they are the same or not.
  3. Current Milliseconds: This operation lets you fetch the number of milliseconds for the current time.
  4. Date Build: This operation lets you create a date in the specified format.
  5. Date Time Build: This operation lets you create a date (along with time) in the specified format.
  6. Date Time Format: This operation lets you change the format of a given date.
  7. Elapsed Milliseconds: This operation lets you retrieve the number of milliseconds that have elapsed since the given time (in milliseconds).
  8. Get Current Date String: This operation lets you fetch the current date in the specified format.
  9. Increment Date: This operation lets you add time to the specified date.
  10. Convert date to ISO format: This operation lets you convert the specified date to the ISO format.

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.
  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. If There is no request body present you can dirctly run the workflow (Step 8). 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 Difference betwwen the dates.
    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", "data2" and "data3" is key here and Match the date formate with the "data3" formate. If you change the "data3" provide the inpute in that format .
    image
  2. Now run the workflow it will give you output in the logger.

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.

About

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

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors