Blue Prism Interview Questions 141-160

141) What is the use of Recover stage?

The Recover stage attracts, or catches the exception, giving the designer (i.e., you) the opportunity to create some sort of recovery sequence. When an exception is caught, the Business Object (or Process) is said to be in Recovery Mode, meaning the exception is “live”.

Passing through the Resume stage diffuses the exception and enables the diagram to come out of Recovery Mode and continue a normal flow. Importantly, the Resume stage does not fix anything – that is the responsibility of the designer. The Exception Detail value is an expression and does need quotes.

142) What are ExceptionDetail() and ExceptionType()?

Exception functions like ExceptionDetail() and ExceptionType() cannot be used anywhere other than in between a Recover and a Resume, i.e., in Recovery Mode.

143) What is the “Preserve” checkbox and when to use it?

When using the Exception stage, it is important to understand the “Preserve” checkbox and when to use it. When the checkbox is checked, you will have noticed the Exception Type and Exception Details fields are disabled.

Checking the checkbox indicates that the current exception is to be re-released or thrown again and no new details are necessary. For this reason, the “Preserve” check box must only be used in Recovery Mode, i.e., somewhere between a Recover stage and a Resume stage.

Using the checkbox outside Recovery mode will in itself generate an exception. The following diagram illustrates correct use of the “Preserve” checkbox. The right-hand exception is thrown in Recovery Mode, so the checkbox is checked.

The other exception is a new exception thrown outside Recovery Mode, so the checkbox is not (and must not be) checked and exception details are supplied. exception, make sure it is thrown after a Resume stage, thereby neutralizing the current exception before the new one is created.

144) What is One Recover stage?

One Recover stage will handle all exceptions on a page.

145) What are blocks?

Blocks are a way of using multiple Recover stages on the same page.

146) What is code stage?

The code stage allows Microsoft.Net code scripts to be embedded in a Business Object (but not a Process). A code stage can have inputs and outputs and can be written in VB, C# or J#.

147) By default what pages are there in Business objects?

Business objects have two default pages named Initialize and Cleanup, and these pages cannot be removed or published. They are intended to provide the opportunity to execute logic at the start and end of the life cycle of a Business Object.

148) What are wildcards in blue prism?

Wildcards allow you to perform a fuzzy match on text. Microsoft Word* will match “Microsoft Word – Document1” and any other similar name. Numeric Comparisons – you might be looking for a dialog window which is 300 pixels or fewer in width. on-Equality – you might want to match a dialog window which does not have the window title “Error”. Dynamic Matches – a match based on a value which might change all the time.

149) What is the use of dynamic match type?

The Dynamic match type allows us to specify the value of an attribute from the diagram rather than use the one in Application Modeler. A dynamic attribute can be thought of as a mandatory input parameter required by any stage using the element.

To continue the example of customer details making up part of a window title, the expression might look like the following: “Customer System ” & [Account Number] & ” ” & [Account Holder]

150) What are Blue Prism spy mode options?

Blue Prism has multiple spy mode options. After pressing the Identify Element button, use the ALT key cycles through them.

151) What is Application Modeler in blue prism?

As an alternative, Application Modeler can be switched to another Microsoft API named Active Accessibility (or AA for short). This API is designed to facilitate applications for people with impaired vision or hearing, such as screen readers, and Application Modeler can also use it for spying.

152) What is Application Manager?

Application Manager can run in a variety of different modes, which affect how Blue Prism integrates with the application that is being modeled. For our training exercises, we left the default value.

Blue Prism is running as a 32-bit process, but the application being modeled is a 64-bit process, then “External, 64-bit mode” should be selected. Some unreliable applications may impact Blue Prism if they crash. If this is the case, an external mode should be selected so that the unreliable process does not have a detrimental impact on the Blue Prism process.

An External mode is also recommended when modeling Java applications: this is due to limitations of the Java Access Bridge interface.

153) What is the use of Global Mouse Click and Global Send Keys?

Global Mouse Click and Global Send Keys are examples of operations that need an active application. If the application is not at the front, these operations will click or type onto whatever window is active, even if it is a different application or just the empty desktop.

154) How do you secure repository?

Credentials are a secure repository for details used to log in to target applications. They are encrypted in the Blue Prism database to make them only accessible to those who should be able to use them.

The Credentials Management system determines which Processes, Resources, and Roles have permission to access the information, and a special Internal – Credentials Business Object provides actions for using credentials.

155) What is the use of wait stage in blue prism?

A Wait stage will take the path of the first True condition or, if the timeout elapses, the action can proceed to carry out further actions or as noted previously to throw an Exception as something has not happened as expected. A Wait stage can exist without any condition and the timeout can be used as a pause.

You can use the mouse as normal when spying an application; holding the CTRL key prevents the mouse click from actually pressing the button.

156) What is the Active Accessibility interface in Blue Prism?

The Active Accessibility interface can be much slower than the default Win32 interface. The Match Index and Match Reverse (explained in a later section) can be used to provide a significant performance improvement.

When using Active Accessibility, multiple matches can be found even though the element seems to be unique. This is because elements may exist even when they are not displayed. Checking the Invisible attribute (which will be set to False) ensures that only elements currently on the screen will be matched.

157) What are Sub-Pages in process?

Sub-Pages of your process should, If possible, have a single task or function such as retrieving information from one system, or updating another system. Any sub-page that interfaces with a system should have retry logic.

When using components, sub-processes and objects care must be taken not to compound any retry loops by inadvertently nesting them together.

158) How many end points should a page contains?

A page can have multiple end points but only one starting point.

159) How can you include data item in an expression?

Square brackets must be used to include a Data Item in an expression, e.g., [Account ID].

160) How can you include collection field in an expression?

To include a Collection field in an expression, we use what is known as dot notation. All this means is that both the Collection name and the field name must be included in the expression, and to do this you simply together using a full stop, for example [My Orders. Quantity].