Learn About Configuring Assets for Consoldating Tasks Into a Unified List
Acquire the Necessary Assets
Before you can start, ensure that you have acquired all asset necessary to consolidate tasks into a single list. Oracle provides, through GitHub, a downloadable code sample you will use to complete this solution.
- Clone the GitHub respository to your local folder. You can access that repository by clicking Download Code and then Git Repo in the left navigation bar.
- On your hard drive, create a
.zip
file calledUnifiedTaskList_VBCS.zip
and add to it all files from the repository excepthighlevel.png
and.gitignore
. - Import
UnifiedTaskList_VBCS.zip
as an application into your Oracle Visual Builder instance.
Configure the Task Sources
UnifiedTaskList_VBCS.zip
as an application to your Oracle Visual Builder instance, you need to configure the applications, or task sources, providing the tasks that will be consolidated into a single list.constTaskSourceList
under worklist flow, with one
configuration object for each task source; for example, this listing shows the
configuration for two task sources, Fusion
and
OCI-Process
:[
{
"name": "Fusion",
"epTaskListApi": "saaSBPMAPI/getTasks",
"epTaskListApiTasksRoot":"items",
"epTaskListApiAttributeMap":{
"Status":"state",
"TaskID":"taskId",
"Subject":"title",
"DateAssigned":"assignedDate",
"AssignedBy":"fromUserName"
},
"epTaskDetailUrl": "https://adc2-zjnf-fa-ext.oracledemos.com/fscmUI/faces/adf.task-flow?taskId="
},
{
"name": "OCI-Process",
"epTaskListApi": "oICProcessBPMTasks/getTasks",
"epTaskListApiTasksRoot":"items",
"epTaskListApiAttributeMap": {
"Status":"state",
"TaskID":"number",
"Subject":"title",
"DateAssigned":"assignedDate",
"AssignedBy":"fromUserName"
},
"epTaskDetailUrl": "/ic/pub/components/pages/taskdetail.html?taskNumber="
}
]
name
: This identifies the specific task source and appears on the list of tasks sources in the application.epTaskListApi
: This value identifies the endpoint inside service connection and is used to fetch the list of tasks from that service. Format isServiceConnectionName/Endpoint
.epTaskListApiAttributeMap
: This value is mapped to specify fields from the payload returned by a task source for each attribute shown on the task list.epTaskDetailUrl
: This is a direct URL for the task in the source application. It is essential for enabling users to act on tasks in the displayed lsit of tasks.