Major Concepts

This grouping of ideas is intended to pull together concepts that have several parts to them or encompass a great deal of information. "Major Concepts" may contain minor concepts but the monir concepts should be limited in scope that they do not contain anything other thant their topic. "Minor Concepts" iare grouped based on collecting ideas that are either very specific, smaller in scope, or both. There may be additions to this list and there almost certainly will be some edits over the time that this site exists.


Automation Lifecycle

Buttons

Donec eget ex magna. Interdum et malesuada fames ac ante ipsum primis in faucibus. Pellentesque venenatis dolor imperdiet dolor mattis sagittis. Praesent rutrum sem diam, vitae egestas enim auctor sit amet. Pellentesque leo mauris, consectetur id ipsum sit amet, fergiat. Pellentesque in mi eu massa lacinia malesuada et a elit. Donec urna ex, lacinia in purus ac, pretium pulvinar mauris. Curabitur sapien risus, commodo eget turpis at, elementum convallis elit. Pellentesque enim turpis, hendrerit.

Lorem ipsum dolor sit amet, consectetur adipiscing elit. Duis dapibus rutrum facilisis. Class aptent taciti sociosqu ad litora torquent per conubia nostra, per inceptos himenaeos. Etiam tristique libero eu nibh porttitor fermentum. Nullam venenatis erat id vehicula viverra. Nunc ultrices eros ut ultricies condimentum. Mauris risus lacus, blandit sit amet venenatis non, bibendum vitae dolor. Nunc lorem mauris, fringilla in aliquam at, euismod in lectus. Pellentesque habitant morbi tristique senectus et netus et malesuada fames ac turpis egestas. In non lorem sit amet elit placerat maximus. Pellentesque aliquam maximus risus, vel sed vehicula.

Exception Handling

Errors

Errors are events that a particular program can't normally deal with. Examples of errors are:
    • Syntax- The language rules for the coding language have not been followed resulting in the compiler or interpreter not being able to effectively read and execute the code.
    • User- Things like providing a number where a string is expected, or a value that in some other way is not correct or expected by the program or automation
    • Programming- Specifically not an issue with the syntax or the value provided, these errors will kill a process or produce unexpected results. Bugs are considered programming errors

Exceptions

Exceptions are events that are recognized by the program, categorized, and handled. Exceptions could be errors that happen and need to be handled a certain way or exceptions could be cases that are outside of the scope of a particular process's authority. For example an automation could be configured to handle money transfers of under 200 dollars so anything above 200 would be considered and exception and need to be handled by a human or by an alternative automated process. Main Types of exceptions:
    • System- These are exceptions that are cause or linked to the system/s being used. This type of exception may be resolved by retrying the logic involved(assuming that doing so would not cause undesired results such as duplicate entry of data or processing a payment multiple times etc.
    • System Exception Types:
      • NullReferenceException - Variable used with no set value(not initialized)
      • IndexOutOfRangeException - Index of an object is not inside the collection limits
      • ArgumentException - Method invoked and one or more of the arguments do not meet the specifications needed
      • SelectorNotFoundException - This indicates that the timeout period for the element has exired prior to the bot being able to find the specified selector
      • ImageOperationException - The timeoutperiod has elapsed prior to finding the image
      • TextNotFoundException - The timeoutperiod has elapsed prior to finding the indicated text
      • ApplicationException - this is related to a technical issue such as an application that is not responding
    • Business- These exceptions are also referred to as Business Rule Exceptions(BRE) and are typically caused by a data being incomplete, missing, outside of set boundries, or not passing other validation criteria. This type of exception will result in the process being stopped so the item can be reviewed by a human and any necessary steps applied. Since a business excpetion will likely require human intervention the error message should containg meaningful information.

Exception Handling can take several different forms within the UiPath platform. Two of the most common are "Try Catch" and "Retry Scope".

Try Catch

Catches a specified exception type in a sequence or activity and will either display an error notiification or dismisses it and continues the execution. UiPath's Try Catch mechanism consists of three parts. The Try block performs the activity and if an error happens then the catch block acticvates and the activities contained in this block are executed. The finally block is ran only when there are no exceptions or when there was an exception that was caught and handled in the catches block as long as that exception was not rethrown.

Avoid using the Try catch too often.

Retry Scope

Allows the activity contained within it to be repeatedly executed as long as a specific condition isn't met. Similar tot he Try Catch, the retry scope's purpose is to catch and handle errors. This error handling method is focused on retrying the execution.

Lastly, the "ContinueOnError" property allows the process to continue even if an error occurs. Setting this property to Tru will cause any error that takes place within the "do" block of the activity in UiPath to be ignored. Setting Continue On Error to True is not recommended for all scenarios and care should be used when deciding to mark that property to true.


Queues

Lorem ipsum dolor sit amet, consectetur adipiscing elit. Duis dapibus rutrum facilisis. Class aptent taciti sociosqu ad litora torquent per conubia nostra, per inceptos himenaeos. Etiam tristique libero eu nibh porttitor fermentum. Nullam venenatis erat id vehicula viverra. Nunc ultrices eros ut ultricies condimentum. Mauris risus lacus, blandit sit amet venenatis non, bibendum vitae dolor. Nunc lorem mauris, fringilla in aliquam at, euismod in lectus. Pellentesque habitant morbi tristique senectus et netus et malesuada fames ac turpis egestas. In non lorem sit amet elit placerat maximus. Pellentesque aliquam maximus risus, vel sed vehicula.

Interdum et malesuada fames ac ante ipsum primis in faucibus. Pellentesque venenatis dolor imperdiet dolor mattis sagittis. Praesent rutrum sem diam, vitae egestas enim auctor sit amet. Pellentesque leo mauris, consectetur id ipsum sit amet, fersapien risus, commodo eget turpis at, elementum convallis elit. Pellentesque enim turpis, hendrerit tristique lorem ipsum dolor.


Libraries

Donec eget ex magna. Interdum et malesuada fames ac ante ipsum primis in faucibus. Pellentesque venenatis dolor imperdiet dolor mattis sagittis. Praesent rutrum sem diam, vitae egestas enim auctor sit amet. Pellentesque leo mauris, consectetur id ipsum sit amet, fergiat. Pellentesque in mi eu massa lacinia malesuada et a elit. Donec urna ex, lacinia in purus ac, pretium pulvinar mauris. Curabitur sapien risus, commodo eget turpis at, elementum convallis elit. Pellentesque enim turpis, hendrerit.

Lorem ipsum dolor sit amet, consectetur adipiscing elit. Duis dapibus rutrum facilisis. Class aptent taciti sociosqu ad litora torquent per conubia nostra, per inceptos himenaeos. Etiam tristique libero eu nibh porttitor fermentum. Nullam venenatis erat id vehicula viverra. Nunc ultrices eros ut ultricies condimentum. Mauris risus lacus, blandit sit amet venenatis non, bibendum vitae dolor. Nunc lorem mauris, fringilla in aliquam at, euismod in lectus. Pellentesque habitant morbi tristique senectus et netus et malesuada fames ac turpis egestas. In non lorem sit amet elit placerat maximus. Pellentesque aliquam maximus risus, vel sed vehicula.


Files & Directories

Lorem ipsum dolor sit amet, consectetur adipiscing elit. Duis dapibus rutrum facilisis. Class aptent taciti sociosqu ad litora torquent per conubia nostra, per inceptos himenaeos. Etiam tristique libero eu nibh porttitor fermentum. Nullam venenatis erat id vehicula viverra. Nunc ultrices eros ut ultricies condimentum. Mauris risus lacus, blandit sit amet venenatis non, bibendum vitae dolor. Nunc lorem mauris, fringilla in aliquam at, euismod in lectus. Pellentesque habitant morbi tristique senectus et netus et malesuada fames ac turpis egestas. In non lorem sit amet elit placerat maximus. Pellentesque aliquam maximus risus, vel sed vehicula.

Interdum et malesuada fames ac ante ipsum primis in faucibus. Pellentesque venenatis dolor imperdiet dolor mattis sagittis. Praesent rutrum sem diam, vitae egestas enim auctor sit amet. Pellentesque leo mauris, consectetur id ipsum sit amet, fersapien risus, commodo eget turpis at, elementum convallis elit. Pellentesque enim turpis, hendrerit tristique lorem ipsum dolor.


Loops

Donec eget ex magna. Interdum et malesuada fames ac ante ipsum primis in faucibus. Pellentesque venenatis dolor imperdiet dolor mattis sagittis. Praesent rutrum sem diam, vitae egestas enim auctor sit amet. Pellentesque leo mauris, consectetur id ipsum sit amet, fergiat. Pellentesque in mi eu massa lacinia malesuada et a elit. Donec urna ex, lacinia in purus ac, pretium pulvinar mauris. Curabitur sapien risus, commodo eget turpis at, elementum convallis elit. Pellentesque enim turpis, hendrerit.

Lorem ipsum dolor sit amet, consectetur adipiscing elit. Duis dapibus rutrum facilisis. Class aptent taciti sociosqu ad litora torquent per conubia nostra, per inceptos himenaeos. Etiam tristique libero eu nibh porttitor fermentum. Nullam venenatis erat id vehicula viverra. Nunc ultrices eros ut ultricies condimentum. Mauris risus lacus, blandit sit amet venenatis non, bibendum vitae dolor. Nunc lorem mauris, fringilla in aliquam at, euismod in lectus. Pellentesque habitant morbi tristique senectus et netus et malesuada fames ac turpis egestas. In non lorem sit amet elit placerat maximus. Pellentesque aliquam maximus risus, vel sed vehicula.


Dynamic Selectors

Lorem ipsum dolor sit amet, consectetur adipiscing elit. Duis dapibus rutrum facilisis. Class aptent taciti sociosqu ad litora torquent per conubia nostra, per inceptos himenaeos. Etiam tristique libero eu nibh porttitor fermentum. Nullam venenatis erat id vehicula viverra. Nunc ultrices eros ut ultricies condimentum. Mauris risus lacus, blandit sit amet venenatis non, bibendum vitae dolor. Nunc lorem mauris, fringilla in aliquam at, euismod in lectus. Pellentesque habitant morbi tristique senectus et netus et malesuada fames ac turpis egestas. In non lorem sit amet elit placerat maximus. Pellentesque aliquam maximus risus, vel sed vehicula.

Interdum et malesuada fames ac ante ipsum primis in faucibus. Pellentesque venenatis dolor imperdiet dolor mattis sagittis. Praesent rutrum sem diam, vitae egestas enim auctor sit amet. Pellentesque leo mauris, consectetur id ipsum sit amet, fersapien risus, commodo eget turpis at, elementum convallis elit. Pellentesque enim turpis, hendrerit tristique lorem ipsum dolor.