PeruT
January 29, 2021, 7:53am
1
Hello,
I am trying to create a sequence that allows to decide and execute 2 different activities according to the date. (I assume that i need to use the Flow Decision?)
i.e.)
True = If today is the first 3 weeks of the month, get the data from the webpage of the current month.
False = If today is the last week of the month, get the data from the webpage of the next month.
What “condition” do I need in the Flow Decision?
Hello,
Do I understand you correct,
12/27/2020 should return true
12/28/2020 should return false
01/24/2021 return true
01/27/2021 return false ?
1 Like
PeruT
January 29, 2021, 8:11am
3
Yes! Thank you for your instant reply.
PeruT
January 29, 2021, 8:12am
4
This is how I want my flowchart to be
Main.xaml (9.0 KB)
As per My understanding of the question, I have made this quick sequence that may help.
Hope this helps.
Variables datatypes-
WeekNumber - Int32
ci - CultureInfo
dtInputDate - DateTime, Default Value set to DateTime.Now (Today’s Date)
Hi,
This is may be i am using the UiPath studio in c# instead of VB. Just change the expression editor to VB.
Regards,
Devyani
PeruT
February 4, 2021, 8:56am
9
Thank you!
Would you mind teaching me how to change it ?
Aleem_Khan
(crazy bot)
February 4, 2021, 9:19am
10
Could you please explain your date with example
Aleem_Khan
(crazy bot)
February 4, 2021, 9:20am
11
Please explain it with some more examples
Main.xaml (7.2 KB)
Above is the file in VB. Hope this will work for you
Aleem_Khan
(crazy bot)
February 4, 2021, 1:31pm
13
Its showing error expression activity type 'csharpvalue 1 required compilation in order to run
PeruT
February 5, 2021, 5:28am
14
It seems like it’s working on my UiPath too, thank you so much!
PeruT
February 5, 2021, 8:48am
15
I could extract the table data and save it in excel file.
In the next step, I would like to add the 2 more columns in red colour from the same website.
Click each the company name, and get the 2 types of information below:
(The first LeadUnderwriter)
(extract the first 5 sentences)
Could anyone give some advice what activities to use?
system
(system)
Closed
February 8, 2021, 8:49am
16
This topic was automatically closed 3 days after the last reply. New replies are no longer allowed.