- Overview
- Custom activities
- Migrating Activities to .NET 6
- Release Notes
- Building Workflow Analyzer Rules
- Building Activities Project Settings
- Creating Custom Wizards
- Prioritize Activities by Scope
- UiPath.Activities.Api.Base
- UiPath.Studio.Activities.Api
- UiPath.Studio.Activities.Api.Activities
- IAnalyzerConfigurationService
- UiPath.Studio.Activities.Api.Analyzer.Rules
- UiPath.Studio.Analyzer.Models
- UiPath.Studio.Activities.Api.BusyService
- UiPath.Studio.Activities.Api.ExpressionEditor
- UiPath.Studio.Activities.Api.Expressions
- UiPath.Studio.Activities.Api.Licensing
- UiPath.Studio.Activities.Api.Mocking
- UiPath.Studio.Activities.Api.ObjectLibrary
- UiPath.Studio.Activities.Api.PackageBindings
- UiPath.Studio.Activities.Api.ProjectProperties
- UiPath.Studio.Activities.Api.ScopedActivities
- UiPath.Studio.Activities.Api.Settings
- UiPath.Studio.Activities.Api.Wizards
- UiPath.Studio.Activities.Api.Workflow
- UiPath.Studio.Api.Controls
- UiPath.Studio.Api.Telemetry
- UiPath.Studio.Api.Theme
- Robot JavaScript SDK
- Triggers SDK
UiPath.Studio.Analyzer.Models
In this section you can find more information on how to build activities using UiPath.Studio.Analyzer.Models.
Represents an enumeration of the direction of an argument.
Value |
Description |
---|---|
Unset |
Default value. |
In |
An argument that represents the flow of data into an activity or project. |
Out |
An Argument that represents the flow of data out of an activity or project. |
InOut |
An Argument that represents the flow of data into and out of an activity or project. |
Property |
Currently not used. |
Represents the context of any activity inside the workflow.
Type |
Name |
Description |
---|---|---|
IReadOnlyCollection<IVariableModel> |
Variables |
The variables that are visible to this activity. |
IReadOnlyCollection<IArgumentModel> |
DelegateArguments |
The delegate arguments in that are visible to this activity. Requires Studio 2020.4 or later. |
IReadOnlyCollection<IArgumentModel> |
WorkflowArguments |
The arguments that are visible to this activity. |
IProjectSummary |
Project |
Information about the project that contains this activity. |
Represents an activity inside the workflow.
IInspectionObject > IActivityModel
Type |
Name |
Description |
---|---|---|
string |
Type |
The assembly qualified type name of the activity. |
IReadOnlyCollection<IVariableModel> |
Variables |
The variables that are defined in this activity. |
IReadOnlyCollection<IArgumentModel> |
DelegateArguments |
The delegate arguments that are defined in this activity. Requires Studio 2020.4 or later. |
IReadOnlyCollection<IArgumentModel> |
Arguments |
The arguments that are defined in this activity. |
IReadOnlyCollection<IArgumentModel> |
InternalArguments |
The non-browsable arguments that are defined in this activity (
BrowsableAttribute is set to false).
|
IReadOnlyCollection<IPropertyModel> |
Properties |
The properties of this activity. |
IReadOnlyCollection<IPropertyModel> |
InternalProperties |
The non-browsable properties of this activity (
BrowsableAttribute is set to false).
|
IReadOnlyCollection<IActivityModel> |
Children |
The collection of child activities of this activity. |
IActivityModel |
Parent |
The parent activity of this activity. |
IActivityContext |
Context |
The context of this activity. |
IReadOnlyCollection<string> |
ObjectReferences |
The references in the object library that are used by this activity. |
bool |
SupportsObjectReferences |
If set to
True , this activity supports using the objects library.
|
string |
ToolboxName |
Activity name as registered in toolbox. Requires Studio 2020.10 or later. |
string |
AnnotationText |
The text of the annotation. Requires Studio 2021.4 or later. |
IPackageBindingModel |
PackageBinding |
Associated package binding for this activity. |
Represents an argument.
IMemberModel > IVariableModel > IArgumentModel
Represents a case activity inside a Switch activity.
IInspectionObject > ICaseModel
Type |
Name |
Description |
---|---|---|
IActivityModel |
Activity |
The activity associated with this case. |
string |
CaseExpression |
The expression that triggers this case. |
IReadOnlyCollection<IVariableModel> |
Variables |
The variables that are defined in this activity. |
IReadOnlyCollection<IArgumentModel> |
Arguments |
The arguments that are defined in this activity. |
IReadOnlyCollection<IPropertyModel> |
Properties |
The properties of this activity. |
IReadOnlyCollection<IActivityModel> |
Children |
The collection of child activities of this activity. |
IActivityModel |
Parent |
The parent activity of this activity. |
IActivityContext |
Context |
The context of this activity. |
Represents a project dependency.
Represents a workflow element containing expressions.
IInspectionObject > IWorkflowElement > IExpressionContainer
Type |
Name |
Description |
---|---|---|
IEnumerable<IExpressionModel> |
GetExpressions() |
Returns all expression models from this workflow element, for example variable default values, argument default values, property arguments expressions, conditions etc. |
IEnumerable<IExpressionContainer> |
GetChildExpressionContainers() |
Returns all children that can be expression containers, for example activities, nodes, states, transitions. |
DefaultValue
for variable and workflow argument or DefinedExpression
for activity argument).
IMemberModel > IExpressionModel
Represents a file.
IInspectionObject > IFileModel
Represents a Flowchart.
IInspectionObject > IActivityModel > IFlowchartModel
Type |
Name |
Description |
---|---|---|
IReadOnlyCollection<IFlowNodeModel> |
Nodes |
The collection of IFlowNodeModel in this flowchart. |
IFlowNodeModel |
StartNode |
The start node in this flowchart. |
Represents a node in a flowchart.
IInspectionObject > IWorkflowElement > IExpressionContainer > IFlowNodeModel
Type |
Name |
Description |
---|---|---|
IActivityModel |
ChildActivity |
The activity defined in this node. |
IReadOnlyCollection<IConnection> |
OutConnections |
The outgoing connections from this node. |
IReadOnlyCollection<IConnection> |
InConnections |
The incoming connections to this node. |
IMemberModel |
Expression |
The expression that is evaluated to decide the next step. |
IFlowChartModel |
Owner |
The flowchart owner of this node. |
Represents an If activity.
IInspectionObject > IActivityModel > IIfElseModel
Represents a member of another model.
Type |
Name |
Description |
---|---|---|
string |
DisplayName |
The name of the member as shown to the user. |
string |
Type |
The assembly qualified name of this user. |
string |
DefinedExpression |
The expression or value of this member. |
bool? |
HasLiteralExpression |
Returns
true if the defined expression is a Literal<string>. Requires Studio 2022.4 or later.
|
""This is a plain string""
.
Information about Object Repository integration in the project.
Represents a project package reference.
IInspectionObject > IFileModel > IDependency > IPackageReference
Represents a branch of a IPickModel activity.
IVariableContainer, IExpressionContainer > IPickBranchModel
Type |
Name |
Description |
---|---|---|
IActivityModel |
Trigger |
The activity that triggers this branch. |
IActivityModel |
Action |
The activity that executes in this branch. |
IActivityModel |
Parent |
The parent Pick activity. |
""This is a plain string""
.
Represents a Pick Branch activity.
IInspectionModel > IActivityModel > IPickModel
Type |
Name |
Description |
---|---|---|
IEnumerable<IPickBranchModel> |
PickBranches |
The collection of IPickBranchModel defined in this Pick Branch activity. |
Represents the complete project representation, including contained workflows parsing models. Project analysis is run against this model.
IInspectionObject > IProjectSummary > IProjectModel
Represents partial information about a project. Unlike IProjectModel, an IProjectSummary only holds information available before the contained workflow files are being parsed. It is useful for workflow analysis and project definition analysis.
IInspectionObject > IProjectSummary
Type |
Name |
Description |
---|---|---|
string |
Directory |
The project directory. Requires Studio 2021.4 or later. |
IReadOnlyCollection<string> |
FileNames |
The names of the workflow files in this project. |
IReadOnlyCollection<IDependency> |
Dependencies |
The dependencies of this project. |
string |
ProjectOutputType |
The output type of this project.. |
string |
ProjectProfileType |
The profile type of this project. |
string |
ExpressionLanguage |
The expression language of this project |
bool |
RequiresUserInteraction |
Indicates whether the project requires user interaction. |
bool |
SupportsPersistence |
Indicates if project supports persistence. |
bool |
HasModernBehavior |
Indicates if the project uses the modern design experience. Requires Studio 2022.4 or later. |
string |
EntryPointName |
The entry point workflow name of the project. |
string |
ProjectFilePath |
The file path to the project.json file. |
string |
ExceptionHandlerWorkflowName |
The exception-handling workflow name of this project. |
IReadOnlyCollection<string> |
EntryPoints |
The list of entry points in the project. Requires Studio 2020.10 or later. |
IReadOnlyCollection<string> |
IgnoredFiles |
The list of files in the project that are ignored from publish. Requires Studio 2020.10 or later. |
IReadOnlyCollection<string> |
TestCases |
The list of test cases in the project. Requires Studio 2021.4 or later. |
IReadOnlyCollection<string> |
FileTemplates |
The list of file templates in the project. Requires Studio 2021.10 or later. Note: This property is deprecated. Use Templates instead. |
IReadOnlyCollection<string> |
Templates |
The list of all templates in the project. Requires Studio 2022.4 or later. |
IObjectBrowserSummary |
ObjectBrowserSummary |
A summary of Object Repository information in the project. Requires Studio 2022.4 or later. |
Represents a property of a model.
IMemberModel > IPropertyModel
Type |
Name |
Description |
---|---|---|
IReadOnlyCollection<IPropertyModel> |
Properties |
The properties of this property. |
IReadOnlyCollection<IPropertyModel> |
InternalProperties |
The collection of non-browsable properties of this property (BrowsableAttribute set to
false ).
Non-browsable properties are not parsed in depth. |
IReadOnlyCollection<IArgumentModel> |
Arguments |
The arguments of this property. |
IReadOnlyCollection<IArgumentModel> |
InternalArguments |
The collection of non-browsable arguments of this property (BrowsableAttribute set to
false ).
|
Represents a State Machine activity.
IInspectionObject > IActivityModel > IStateMachineModel
Type |
Name |
Description |
---|---|---|
IReadOnlyCollection<IStateModel> |
States |
The collection of IStateModel in this State Machine activity. |
IStateModel |
InitialState |
The start point of this State Machine activity. |
Represents a State in a IStateMachineModel activity.
IInspectionObject, IVariableContainer, IExpressionContainer > IStateModel
Type |
Name |
Description |
---|---|---|
IActivityContext |
Context |
The inherited context of this State. |
IReadOnlyCollection<ITransition> |
Transitions |
The outgoing transitions available from this State. |
IActivityModel |
Entry |
Entry action of the State. |
IActivityModel |
Exit |
Exit action of the State. |
IStateMachineModel |
Owner |
The State Machine activity containing this State. |
bool |
IsFinal |
If
true , indicates that this State is final.
|
IReadOnlyCollection<IVariableModel> |
Variables |
The collection of variables defined in this State. |
Represents a Switch activity.
IInspectionObject > IActivityModel > ISwitchModel
Type |
Name |
Description |
---|---|---|
IActivityModel |
Default |
The activity associated with the Default block of this activity. Value can be null. |
IEnumerable<ICaseModel> |
Cases |
The collection of ICaseModel in this activity. |
Contains information about a specific file template.
Represents a transition from a IStateModel in a State Machine.
IInspectionObject, IVariableContainer, IExpressionContainer > ITransition
Type |
Name |
Description |
---|---|---|
IStateModel |
From |
The state that this transition comes from. |
IStateModel |
To |
The state that this transition leads to. |
IActivityModel |
Action |
Activity to execute when the transition is taken. |
IActivityModel |
Condition |
The condition to decide whether to take the transition after the Trigger activity is completed. |
IActivityModel |
Trigger |
Trigger activity of this transition. |
Represents a Try Catch activity.
IInspectionObject > IActivityModel > ITryCatchModel
Represents a workflow element containing variables.
IInspectionObject > IWorkflowElement > IVariableContainer
Represents a variable.
IMemberModel > IVariableModel
Represents a web service reference in the project.
IInspectionObject > IFileModel > IDependency > IWebServiceRerefence
Represents a workflow element.
IInspectionObject > IWorkflowElement
Type |
Name |
Description |
---|---|---|
string |
Id |
The generated workflow ID. Can be null. |
string |
Type |
The type of the workflow element |
IWorkflowElement |
ImmediateParent |
The immediate parent of the workflow element. It can be a IFlowNodeModel, IStateModel, IPickBranchModel, ITransition, IActivityModel. |
IEnumerable<IWorkflowElement> |
GetChildren() |
The immediate first level children (not only IActivityModel). |
Represents a workflow file inside the project.
IInspectionObject > IFileModel > IWorkflowModel
Type |
Name |
Description |
---|---|---|
IActivityModel |
Root |
The root activity of the workflow. Value can be null. |
IReadOnlyCollection<IArgumentModel> |
Arguments |
The arguments of the workflow. |
IReadOnlyCollection<string> |
ImportedNamespaces |
The imported namespaces of the workflow. |
IProjectSummary |
Project |
The project this workflow belongs to. |
IReadOnlyCollection<string> |
Assemblies |
The assemblies of the workflow. Requires Studio 2021.4 or later. |
- ArgumentDirection
- Properties
- IActivityContext
- Properties
- IActivityModel
- Inheritance
- Properties
- IArgumentModel
- Inheritance
- Properties
- ICaseModel
- Inheritance
- Properties
- IConnection
- Properties
- IDependency
- Inheritance
- Properties
- IExpressionContainer
- Inheritance
- Properties
- IExpressionModel
- Inheritance
- Properties
- IFileModel
- Inheritance
- Properties
- IFlowchartModel
- Inheritance
- Properties
- IFlowNodeModel
- Inheritance
- Properties
- IIfElseModel
- Inheritance
- Properties
- IInspectionObject
- Properties
- IMemberModel
- Properties
- Remarks
- IObjectBrowserSummary
- Properties
- IPackageReference
- Inheritance
- Properties
- IPickBranchModel
- Inheritance
- Properties
- Remarks
- IPickModel
- Inheritance
- Properties
- IProjectModel
- Inheritance
- Properties
- IProjectSummary
- Inheritance
- Properties
- IPropertyModel
- Inheritance
- Properties
- IStateMachineModel
- Inheritance
- Properties
- IStateModel
- Inheritance
- Properties
- ISwitchModel
- Inheritance
- Properties
- ITemplateModel
- Properties
- ITransition
- Inheritance
- Properties
- ITryCatchModel
- Inheritance
- Properties
- IVariableContainer
- Inheritance
- Properties
- IVariableModel
- Inheritance
- Properties
- IWebServiceRerefence
- Inheritance
- Properties
- IWorkflowElement
- Inheritance
- Properties
- IWorkflowModel
- Inheritance
- Properties