Embed a Task Detail in an External Application
Sometimes users of an external service may want to invoke a Process Automation task details from within their application without navigating to Process Automation Workspace. They can do so by embedding the task details in their application.
This ensures seamless user experience as they're always in the context of their primary application and saves the effort of navigating to Process Automation from their application. These users can then view details of the task and take action on it.
Note:
In case of a Process Automation instance paired with a Fusion based Oracle Cloud Application, user authentication is seamless. However for all other applications and services, users are prompted to authenticate before accessing the task details.https://{OPA_service_instance}/process/workspace/pages.html?root=taskDetail&taskNumber=####
Process automation lets you load a Process Automation task details with the context of an existing application by passing data through the URL query parameters. The URL query parameters can:
- Control the details of the task that are displayed.
- Show or hide the action buttons
- Show or hide the system action buttons
Here is an example of how you can send data using URL query parameters:
http://<IP address and port>/process/workspace/pages.html?root=taskDetail&taskNumber=####&hideComments=true
In this example, the task comments do not appear to the user.
URL Query Parameters of Task Details
The following table lists all the URL query parameters of task details:
URL Query Parameter | Description | Value Type | Default value and sample formats |
---|---|---|---|
taskNumber |
Displays the taskId of the task. | String | |
hideActions |
Hides all action buttons. | Boolean | false |
hideSave |
Hides the Save button. | Boolean | false |
hideSystemActions |
Hides the system action buttons. | Boolean | false |
hideSummary |
Hides the summary section. | Boolean | false |
hideForm |
Hides the task form. | Boolean | false |
hideComments |
Hides the comments section. | Boolean | false |
hideHistory |
Hides the history section. | Boolean | false |
hideAttachment |
Hides the attachments section. | Boolean | false |
hideMoreInfo |
Hides the More Information section. | Boolean | false |