Get Process Instance
UiPath.Oracle.IntegrationCloud.Process.Activities.GetProcessInstanceActivity
The Get Process Instance activity uses the Oracle Integration Retrieve Process Instance API to retrieve a specific process (Process Id).
After completing the get operation, the activity outputs the process details in a DataTable object (Process Details) along with the API call status (Status) and response message (Response Message).
How it works
The following steps and message sequence diagram is an example of how the activity works from design time (i.e., the activity dependencies and input/output properties) to run time.
- Complete the Setup steps.
- Add the Oracle Process Scope activity to your project.
- Add an activity or run an external process that outputs the process identifier (e.g., , ).
- Add the Get Process Instance activity inside the Oracle Process Scope activity.
- Enter a value for the Input property.
- Create and enter a
DataTablevariable andStringvariables for the Output properties. - Run the activity.
-
Your input properties are sent to the Retrieve Process Instance API.
-
The API returns the
DataTableandStringvalues to your output property variables.
-
Properties
Common
- DisplayName - The display name of the activity. This field supports only
StringsorStringvariables.
Input
- Process Instance Id - The identifier assigned to the process that you want to retrieve. Enter a
Int32orInt32variable. To get the Process Instance Id value, add an activity or run an external process that outputs the process identifier (e.g., , ).
Misc
- Private - If selected, the values of variables and arguments are no longer logged at Verbose level.
Output
- Process Instance - Enter a
DataTablevariable. - Response Message - The API response message. Enter a
Stringvariable - Status - The status of the request. This field supports only
Stringvariables. Possible values are Success or Failure.
Example
The following image shows an example of the activity dependency relationship and input/output property values.