The most simple answer would be yes, but it is actually quite far from practical truth. Every element in a flow naturally uses some battery life. Most of the time you don't have to think about it at all but in some cases you can optimize your flows by doing some things differently or using different trigger for example. There are a few actions and trigger that can cause unnecessary battery consumption, but this behaviour is always mentioned in relevant actions and triggers.
Like I said, most of the time you don't have to think about it. If you are unsure about a specific flow, just ask it. Without specific cases this is too broad question to be answered meaningfully. Almost like "what can you code with C++?"
Add action (Rename file)
Moderator: Martin
Re: Add action (Rename file)
Ok another step:
move the files from different location if they have the extension pdf
I have create a condition to match if the file is a .pdf file.
the espression is:
contains(path,"*.pdf")
but even if there is a file named file.pdf the result is always false.
Where is the error?
thank you
move the files from different location if they have the extension pdf
I have create a condition to match if the file is a .pdf file.
the espression is:
contains(path,"*.pdf")
but even if there is a file named file.pdf the result is always false.
Where is the error?
thank you
Re: Add action (Rename file)
wfrcrd wrote:Ok another step:
move the files from different location if they have the extension pdf
I have create a condition to match if the file is a .pdf file.
the espression is:
contains(path,"*.pdf")
but even if there is a file named file.pdf the result is always false.
Where is the error?
thank you
"contains( )" finds certain line in lists and maps only. (may martin correct me if im wrong..)
Instead use something like;
path = "xxxx.pdf";
result = matches(path, "(?i).*pdf$");
log(result)