RPA tooling in general (not only UiPath) is marketed that it only requires limited coding to automate processes and thus business users can quickly adopt it. This is true to a certain degree, as some people are already getting anxious when they see some simple HTML / XML code, which is frequently used for setting proper selectors. It’s the basic concept of programming, using variables, if-statements, loops etc, that is the key thing.
To give you an example, I just posted this here: Parse String
What is shows is that you use some simple coding to retrieve a specific value from a string variable. These kind of small code snippets are used throughout the automation of processes. Another example is altering a data table, which is also regularly used.
I personally use custom coding for custom VB for Excel Macro’s, which are then way faster than developing it through many activities. Or to reduce dependencies. E.g. in the UiPath training you have an exercise where you need to retrieve the hashed (SHA) value of a variable. They use a 3rd party website to calculate for this, but you can actually run this locally as well.
If you can point to the examples you mentioned in your start post then we can better advice whether that is common practice or an one-off thing.