Jump to content
  • 0

Trigger to split the date with date range


Harpreet
 Share

Question

I have a data page which will be filled by user as a date range.

For eg: User selected start date and end date, and name, address, vacation.

Expected outcome: The date range should split all the dates and other column in new rows. Is this type of trigger possible.

Eg: Webform----------Start date: 10/1712022 , End date 10/20/17, Name: Harpreet, Address: Toronto, Vacation : British Columbia

Expected Result Data page

Date Name Address Vacation
10/17/2022 Harpreet Toronto British Columbia
10/18/2022 Harpreet Toronto British Columbia
10/19/2022 Harpreet Toronto British Columbia
10/20/2022 Harpreet Toronto British Columbia
Link to comment
Share on other sites

2 answers to this question

Recommended Posts

  • 0

You can achieve this using a small triggered action and a dummy table that will accept the input from your DataPage and will contain the trigger that will create all the records of date range.

Trigger in the dummy table:

image.png.c4abc57c6c232f0c6b3416d325731fc3.png

 

Sample input in dummy table:

image.png.fa3b26a25dfbbc2620fbaaf830a9ca93.png

Output to main table:

image.png.9991fa501c8d7985e659d5422547ea8d.png

Link to comment
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.

Guest
Answer this question...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

Loading...
 Share

×
×
  • Create New...