Create your first automation in just a few minutes.Try Studio Web →
by YouTube
0
Activity
<100
Summary
Summary
The Work Module expands on the Workblock concept introduced in the Enhanced RE-Framework. It automatically logs execution attempts, catches exceptions and implements a retry mechanism
Overview
Overview
The Work Module executes the code contained within its scope (it's recommended to use an Invoke WorkflowFile activity). Log messages are generated for each execution attempt, exceptions are automatically caught and, in case of exceptions other than BusinessRuleException, the code can be automatically re-executed up to a configurable number of times.
The package defines a custom enum type called ExecutionResults used to output the outcome of executing the module's code. Possible output Result:
In Arguments:
- Automatic Logging Options:
- Automatic Retry Options:
- Common:
Out Arguments:
- Output:
Known limitation: If the Work Module catches an Exception that does NOT originate in a different Workflow File, the exception source will be output as System.Activities.
Features
Features
The Work Module activity executes any code within and outputs a status representing the result of the execution. It implements automatic logging and a retry mechanism in case an exception is caught.
Additional Information
Additional Information
Dependencies
None. Reflection is used to access certain activities within UiPath.System.Activities, but no explicit dependencies are defined.
Code Language
Visual Basic
Runtime
Windows Legacy (.Net Framework 4.6.1)
Technical
Version
1.0Updated
June 16, 2020Works with
UiPath.System.Activities 19.4.0 and newer Studio 19.4 and newer
Certification
Silver Certified
Support
UiPath Community Support