# \#expression

**URL:** https://forum.uipath.com/tag/expression/2567.md

[Latest](https://forum.uipath.com/latest.md) · [Categories](https://forum.uipath.com/categories.md) · [Tags](https://forum.uipath.com/tags.md)

---

## [UiPath Apps - Feature Request - Add full support for System.Security.Cryptography in expressions](https://forum.uipath.com/t/uipath-apps-feature-request-add-full-support-for-system-security-cryptography-in-expressions/4414613)

<div class="topic-metadata">

**Author:** [@Phanvi](https://forum.uipath.com/u/Phanvi)\
**Replies:** 1\
**Last updated:** [September 10, 2025, 2:26pm UTC](https://forum.uipath.com/t/uipath-apps-feature-request-add-full-support-for-system-security-cryptography-in-expressions/4414613 "2025-09-10T14:26:20Z")

</div>

Hi UiPath, I would like to add a feature request for the UiPath Apps product. It is currently not possible to encrypt text before passing it on. The following one-liner doesn’t work as an expression: Convert.ToBase64S…

---

## [TakeWhile understanding](https://forum.uipath.com/t/takewhile-understanding/725311)

<div class="topic-metadata">

**Author:** [@NILESH.BOT369](https://forum.uipath.com/u/NILESH.BOT369)\
**Replies:** 8\
**Last updated:** [March 8, 2024, 10:51am UTC](https://forum.uipath.com/t/takewhile-understanding/725311 "2024-03-08T10:51:59Z")

</div>

Hello All, i have defined an array by using assign activity, numbers = {1,2,3,4,5,6,7,8,9,10} then in next assign activity, takewhileArray = numbers.TakeWhile(Function(x) x Mod 2=0).ToArray But in output its giving …

---

## [ImageResizer: Expression Activity type 'VisualBasicValue\`1' requires compilation in order to run. Please ensure that the workflow has been compiled](https://forum.uipath.com/t/imageresizer-expression-activity-type-visualbasicvalue-1-requires-compilation-in-order-to-run-please-ensure-that-the-workflow-has-been-compiled/629692)

<div class="topic-metadata">

**Author:** [@JOBIN\_JOSE](https://forum.uipath.com/u/JOBIN_JOSE)\
**Replies:** 8\
**Last updated:** [October 8, 2023, 11:59am UTC](https://forum.uipath.com/t/imageresizer-expression-activity-type-visualbasicvalue-1-requires-compilation-in-order-to-run-please-ensure-that-the-workflow-has-been-compiled/629692 "2023-10-08T11:59:01Z")

</div>

“ResizedFile” +“\_”+DateTime.Now.ToString(“yyyy\_MM\_dd\_\_hh\_mm”)+“.png” I am getting an error saying “ImageResizer: Expression Activity type ‘VisualBasicValue\`1’ requires compilation in order to run. Please ensure that t…

---

## [Logic at system.DateTime](https://forum.uipath.com/t/logic-at-system-datetime/560319)

<div class="topic-metadata">

**Author:** [@Ricchch](https://forum.uipath.com/u/Ricchch)\
**Replies:** 4\
**Last updated:** [July 4, 2023, 4:59pm UTC](https://forum.uipath.com/t/logic-at-system-datetime/560319 "2023-07-04T16:59:24Z")

</div>

Hello Wonderfull people, Just a question: Context: I use a variable Day\_After\_Tomorrow (type DateTime). Then, i want to give them a value (system.DateTime.Now…). However. i noticed that if i select Date, the phrase is…

---

## [Switch case expression syntaxis help](https://forum.uipath.com/t/switch-case-expression-syntaxis-help/541495)

<div class="topic-metadata">

**Author:** [@Ricchch](https://forum.uipath.com/u/Ricchch)\
**Replies:** 10\
**Last updated:** [May 3, 2023, 3:46pm UTC](https://forum.uipath.com/t/switch-case-expression-syntaxis-help/541495 "2023-05-03T15:46:09Z")

</div>

Dear UiPath’s friends I would like to have your advices regarding this issue: I need to make a Switch activity expression to verify if it matches with the subfolder names just to be able to direct instructions. First …

---

## [Although Epression Works Fine, Matches Activity Doesn't Return A Value](https://forum.uipath.com/t/although-epression-works-fine-matches-activity-doesnt-return-a-value/453565)

<div class="topic-metadata">

**Author:** [@Guray\_Karaarslan](https://forum.uipath.com/u/Guray_Karaarslan)\
**Replies:** 6\
**Last updated:** [July 4, 2022, 1:31pm UTC](https://forum.uipath.com/t/although-epression-works-fine-matches-activity-doesnt-return-a-value/453565 "2022-07-04T13:31:06Z")

</div>

Hi All It is me again :frowning: I hope you are well. I have a problem that I couldn’t figure out. Here it is: 1-) I have a text: "2481 Fetosa Drive Llano, Texas Pin cme 78643 TIN: 14122226739" 2-) I need to mat…

---

## [How to get pdf's from particular folder](https://forum.uipath.com/t/how-to-get-pdfs-from-particular-folder/448281)

<div class="topic-metadata">

**Author:** [@Muralikrishna\_Surve](https://forum.uipath.com/u/Muralikrishna_Surve)\
**Replies:** 2\
**Last updated:** [June 15, 2022, 6:25am UTC](https://forum.uipath.com/t/how-to-get-pdfs-from-particular-folder/448281 "2022-06-15T06:25:57Z")

</div>

Hi, I have used Variable type - Array of string and Expression - Directory.GetFiles(“E:\\GoogleSheet\\GoogleSheet”) But still showing this error Main.xaml: Compiler error(s) encountered processing expression “Directory.…

---

## [How to write Grade from given percentage in excel?](https://forum.uipath.com/t/how-to-write-grade-from-given-percentage-in-excel/447725)

<div class="topic-metadata">

**Author:** [@Muralikrishna\_Surve](https://forum.uipath.com/u/Muralikrishna_Surve)\
**Replies:** 6\
**Last updated:** [June 13, 2022, 2:01pm UTC](https://forum.uipath.com/t/how-to-write-grade-from-given-percentage-in-excel/447725 "2022-06-13T14:01:30Z")

</div>

Hi, In my excel sheet, there is already given student total and percentage. By using this I have to generate and write Grades (according to given percentage) in excel sheet. Anyone please help me with solution. Thank…

---

## [Validation of row values in Excel (i.e, In correct format or not)](https://forum.uipath.com/t/validation-of-row-values-in-excel-i-e-in-correct-format-or-not/446434)

<div class="topic-metadata">

**Author:** [@Muralikrishna\_Surve](https://forum.uipath.com/u/Muralikrishna_Surve)\
**Replies:** 2\
**Last updated:** [June 8, 2022, 10:24am UTC](https://forum.uipath.com/t/validation-of-row-values-in-excel-i-e-in-correct-format-or-not/446434 "2022-06-08T10:24:38Z")

</div>

Hi, There is multiple columns in excel, in that there is column “Email” and “PhoneNumber”. My project is, it will get data from excel and fill the values into web application. So looping through all row values. I want…

---

## [How to convert column values from ddmmyyyy to ddmmmyyyy without loop for single column](https://forum.uipath.com/t/how-to-convert-column-values-from-ddmmyyyy-to-ddmmmyyyy-without-loop-for-single-column/411461)

<div class="topic-metadata">

**Author:** [@Mansi\_Mhatre](https://forum.uipath.com/u/Mansi_Mhatre)\
**Replies:** 3\
**Last updated:** [March 31, 2022, 9:53am UTC](https://forum.uipath.com/t/how-to-convert-column-values-from-ddmmyyyy-to-ddmmmyyyy-without-loop-for-single-column/411461 "2022-03-31T09:53:44Z")

</div>

I have datatable with 20000-30000 datarows and more than 50 columns and want to convert one column values from ddmmyyyy to ddMMMyyyy i.e. if 10-05-2020 then 10-May-2020 without loop. Sample datatable: Want to conver…

---

## [Regex in UiPath simple presentation | UiPath in 5 minutes | Ep:11](https://forum.uipath.com/t/regex-in-uipath-simple-presentation-uipath-in-5-minutes-ep-11/394525)

<div class="topic-metadata">

**Author:** [@Cristian\_Negulescu](https://forum.uipath.com/u/Cristian_Negulescu)\
**Replies:** 0\
**Last updated:** [January 27, 2022, 6:40am UTC](https://forum.uipath.com/t/regex-in-uipath-simple-presentation-uipath-in-5-minutes-ep-11/394525 "2022-01-27T06:40:58Z")

</div>

Regex in UiPath simple presentation | UiPath in 5 minutes | Ep:11 UiPath regex 5minutes

---

## [UiPath Apps Tip | Write Complex Expressions, the Easy way](https://forum.uipath.com/t/uipath-apps-tip-write-complex-expressions-the-easy-way/389772)

<div class="topic-metadata">

**Author:** [@AndyMenon](https://forum.uipath.com/u/AndyMenon)\
**Replies:** 0\
**Last updated:** [January 10, 2022, 7:59am UTC](https://forum.uipath.com/t/uipath-apps-tip-write-complex-expressions-the-easy-way/389772 "2022-01-10T07:59:18Z")

</div>

Hello, UiPath Functions and Expressions enables you to do a lot with the functionality of your Apps. That said, writing complex expressions directly using the GUI features of UiPath Apps can be time consuming and somet…
