DOB field capture

TRying to capture DOB field tried Int, string, system datetime but throwing error for all. DOB is in MMM, dd yyyy format.

Hi @Siva_Subramaniam

Actually what you are trying to do ??

What is the input and what output you expect ??

plzz can you elaborate more …

Happy Automation :raised_hands:

Best Regards
Er Pratik Wavhal :robot::man_technologist:t4: :computer:

Hi Pratik,

I’m trying to scrape data from fakenamegenerator site using get text. name, age, DOB, etc etc.
For DOB facing issue with data type.

Thanks

@Siva_Subramaniam

You can scrape with string variable and after that you can convert to required format like

Convert.TodateTime(StringVariable).Tostring(“MMMddyyyy”)

Hope this helps

Thanks

Hi @Siva_Subramaniam

SO you are trying to extract the thing which is mention in below SS
image

And then want to store it in some variable
right ??

So what issue you are getting or any error
can you attach the SS here for your issue

Happy Automation :raised_hands:

Best Regards
Er Pratik Wavhal :robot::man_technologist:t4: :computer:


getting above error

Actually Im trying to save data in a CSV file using a variable.

@Siva_Subramaniam

Share your workflow folder

Thanks

FNG2.xaml (14.8 KB)
This is the actual flow others are just duplicate of same.

@Siva_Subramaniam

add the project.json file also

Thanks

project.json (686 Bytes)
Added

HI @Siva_Subramaniam

In build data table you have taken the return type as int32 so that error was coming

I have solve your issue. Below is the updated workflow :-
FNG2.xaml (15.1 KB)
project.json (686 Bytes)

Output :-
image

Make this as solution and like it :slight_smile:

Happy Automation :raised_hands:

Best Regards
Er Pratik Wavhal :robot::man_technologist:t4: :computer:

Thats great but one quick question only one value is generated when I have given a loop and age is also blank

Got it generated successfully thanks for pointing out. just working on age alone.

This topic was automatically closed 3 days after the last reply. New replies are no longer allowed.