How to input variable from input dialog into run query

nope, i want use the output to select/pick date on web. but with different variable
here is strMonthYear to pick month on web

and this is strDateOnly to pick date on web

Hi,

What is your problem?
Doesn’t your expression work?

Assign: String was not recognized as a valid DateTime.

It’s because input string is just “14”. It’s no match the datetime pattern.

yeah but we already extract the 14 (week of year) to output date using your code

Hi,

If you need MMMM yyyy style datetime string, the following will work

varDateTime = dateJan1.AddDays(7*(weekNumber-1)-CInt(dateJan1.DayOfWeek))

Then

varDateTime.ToString("MMMM yyyy")

It’s unnecessary to use ParseExact.

Regards,

Hi @Yoichi , is it possible to select month and date separately?
can you write the code on this template?
Sequence2.xaml (6.9 KB)

HI,

How about the following?

Sequence2.xaml (7.3 KB)

Or we can have user input MM/dd style, too.

Regards,

Hi @Yoichi i mean how to use the output date to pick/select date on website
here the example of my full workflows.
Main.xaml (61.9 KB)

HI,

We cannot understand your requirement from only the above xaml file, because we cannot access the system etc. For now, can you try to search same matter in this forum?

And as theses posts are apart from the title of this topic, perhaps you should create new topic because it will help those who faces same issue.

Regards,

Hi @Yoichi Yes sir. Thanks for your support.

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