Search found 7 matches

by danger.ngai
Wed Jul 03, 2019 4:31 am
Forum: General Discussion
Topic: How to get the top file name and insert into variables?
Replies: 8
Views: 14910

Re: How to get the top file name and insert into variables?

anything I wrong? Unfortunately everything Use the expression to format date from foremat yyyymmdd to your format ( mm-dd-yyyy ): {DateTimeToFormat({FormatToDateTime({expr(1)},yyyymmdd)},mm-dd-yyyy)} Also look at my corrected example ;***************************** ;* RoboTask Task file ;* Do not ed...
by danger.ngai
Thu Jun 27, 2019 3:49 am
Forum: General Discussion
Topic: How to get the top file name and insert into variables?
Replies: 8
Views: 14910

Re: How to get the top file name and insert into variables?

You have to upload file within the loop if you want to upload file one-by-one. That is between step #2 (file loop) and #13 (end loop) Of course variables contain only last value after the loop. thank you. I would like to change the date format from 20190619 into 06-19-2019 however, the expression l...
by danger.ngai
Mon Jun 24, 2019 3:29 am
Forum: General Discussion
Topic: How to get the top file name and insert into variables?
Replies: 8
Views: 14910

Re: How to get the top file name and insert into variables?

I can save and import without problem see video: https://youtu.be/U36wKHPELLM Thank you. Now it work. But 1 question, I need to scan and upload the file one by one. So if the folder contains more than 1 pdf, this loop will only store the last one as variables. E.g. 20190606_SK37-0619-1_DECL630.pdf ...
by danger.ngai
Fri Jun 21, 2019 11:47 am
Forum: General Discussion
Topic: How to get the top file name and insert into variables?
Replies: 8
Views: 14910

Re: How to get the top file name and insert into variables?

Look at the example below. You can parse the name of file by using regular expressions . Save the text of the task to a file and use menu Task->Import to import the task into RoboTask. ;***************************** ;* RoboTask Task file ;* Do not edit in text editor! ;*****************************...
by danger.ngai
Fri Jun 14, 2019 3:28 am
Forum: General Discussion
Topic: How to get the top file name and insert into variables?
Replies: 8
Views: 14910

How to get the top file name and insert into variables?

First, what I want to do is: I need to upload the pdf file existed in specific folder to ERP system ONE BY ONE. The file name already contains the information I needed to input ERP system, which is Date_ReportNo_ProjectNo.pdf So I need to : 1. Run the autotask when the specific folder has a new pdf ...
by danger.ngai
Fri Jun 14, 2019 2:50 am
Forum: General Discussion
Topic: Failure to create custom variable?
Replies: 2
Views: 5817

Re: Failure to create custom variable?

Oleg wrote:You must enter variable name only (without braces)
Try the string REPORTNAME
thanks, problem solved
by danger.ngai
Thu Jun 13, 2019 4:37 am
Forum: General Discussion
Topic: Failure to create custom variable?
Replies: 2
Views: 5817

Failure to create custom variable?

Hi I just try to use Robotask for few days. I want to define some custom variables, but after I put in the name and initial value, the OK button still under locked, what happen to this? Because I am using trial version? (See attached photo) BTW, I would like to get the file name (name format as foll...