What is code segment in Blueprism and how to implement it?

0 votes
What is Code segment in Blueprism can some one explanation How to work with it? Which language to be use?
Sep 28, 2018 in RPA by bug_seeker
• 15,360 points
1,976 views

1 answer to this question.

0 votes

Blue Prism - Code Stage

The code stage adds the power and flexibility of a professional programming language to the visual convenience of the Blue Prism flow charting tool. This provides the expert user with freedom to perform data manipulations that would otherwise be cumbersome from within Blue Prism, or indeed to interface with the API of a piece of software from within Blue Prism. In particular a code stage is often useful for interfacing with a COM object in a Microsoft Windows environment.

The code stage has a close relationship with the global code declared as part of the business object. Member variables and methods declared in the global code section are accessible from the code stage, but not vice versa.

Properties Form The properties form consists of three tabs: inputs, outputs and code. The inputs and outputs declared are in the form of Blue Prism values and data items, as for an Action Stage. These values are "translated" by Blue Prism to their corresponding Visual Basic .NET equivalents for use in the final tab. Please note that since not all Blue Prism data types have a corresponding equivalent in the .NET framework, only a restricted set of Blue Prism data types is permitted.

Based on the inputs and outputs supplied, a method header is automatically generated, declaring your inputs and outputs for you. You may not edit this header except by editing the list of inputs and outputs in the first two tabs.

Inputs are passed by value to your method. This means that a copy of the value-typed data in Blue Prism will be passed to your method. Modifying this data will not affect the value of the data in Blue Prism. In contrast, outputs are passed by reference. This means that instead of a copy of the value being passed to your method, a pointer to the value is passed instead. This means that any modifications you make to the variable in you method will instantly be propagated into the business object, modifying your chosen data item.

Language Supported - Visual Basic, C# and Visual J#

answered Sep 28, 2018 by Priyaj
• 57,300 points
BP code stage is very useful to do work around in the automated process which can not be handled by BP tool box controls. As for example, BP does not support attended bot feature however, we can have option to create interface using code stage in BP like input dialog box and custom user input form.

Related Questions In RPA

0 votes
1 answer
0 votes
1 answer

What is a Scheduler and how it can be configured in Blueprism tool?

Hey Pratibha, Scheduler is a service which ...READ MORE

answered Oct 21 in RPA by Abha
• 27,200 points
61 views
0 votes
1 answer

What is Get Attribute activity and how it can be used in UiPath Studio?

Hey @vaani, Get Attribute activity in UiPath ...READ MORE

answered Mar 20 in RPA by Abha
• 27,200 points
853 views
0 votes
1 answer

What is an Environment in UiPath Orchestrator and how to create one?

Hi @Amisha, an Environment is a grouping ...READ MORE

answered Apr 5 in RPA by Anvi
• 13,960 points
964 views
0 votes
1 answer

Error : Failed to perform step 1 in Navigate Stage '-----' on page '----' - Not Connected

Do you have Attach bookmark created? When ...READ MORE

answered Sep 28, 2018 in RPA by Priyaj
• 57,300 points
5,481 views
0 votes
1 answer

Spy an active accessibility combobox in blue prism?

My ComboBox is standard HTML Combo Box(Element ...READ MORE

answered Oct 1, 2018 in RPA by Priyaj
• 57,300 points
1,004 views
0 votes
2 answers

RPA tool for C# Developer beginer

Hi! You can try Rpa Suite for Visual ...READ MORE

answered May 10 in RPA by AndrewNJ
1,096 views
0 votes
1 answer

Blueprism: how to scroll down a list?

When I was working whit ComboBox I ...READ MORE

answered Oct 3, 2018 in RPA by Priyaj
• 57,300 points
1,205 views
0 votes
1 answer

BluePrism: In browser application how to spy and drag scroll bars

Depending on the spying method, BP may ...READ MORE

answered Oct 31, 2018 in RPA by Priyaj
• 57,300 points
1 flag 2,222 views
0 votes
1 answer

What are the limitations of BluePrism? What are the scenarios in which it cannot automate?

Essentially both AA and BP can automate ...READ MORE

answered Oct 4, 2018 in RPA by Priyaj
• 57,300 points
1,105 views