19.6.3.3 Editing Task Definitions
Edit Task Definition details from the Shared Components page, under the Workflows and Automations heading.
- Editing Task Definition Participants
Edit Task Definition Participants by accessing the Task Definition in the Shared Components page. - Editing Task Definition Parameters
Edit Task Definition Parameters by accessing the Task Definition in the Shared Components page. - Adding and Editing Task Definition Actions
Add and edit Task Definition Actions by accessing the Task Definition in the Shared Components page.
Parent topic: Managing Task Definitions
19.6.3.3.1 Editing Task Definition Participants
Edit Task Definition Participants by accessing the Task Definition in the Shared Components page.
This example uses the Sample Approvals application, which can be installed from the Gallery. In this example, suppose that Bo, one of the potential owners in the Job Change task definition, has become a business administrator for that definition.
To edit Task Definition Participants:
- Select the Sample Approvals app.
- Navigate to the Task Definitions page:
- On the Application home page, click Shared Components.
- Under Workflows and Automations, select Task Definitions.
- Click Job Change.
- Under Participants, select the row where Participant Type is
Potential Owner
and Value isBo
. - Click Edit.
- Change the Participant Type from
Potential Owner
toBusiness Administrator
. - Click Apply Changes.
Bo is now a business administrator on all new Job Change tasks. Job Change tasks that already exist are not changed.
Parent topic: Editing Task Definitions
19.6.3.3.2 Editing Task Definition Parameters
Edit Task Definition Parameters by accessing the Task Definition in the Shared Components page.
This example uses the Sample Approvals application, which can be installed from the Gallery. In this example, suppose that for Job Change requests, you want to display the old job title as well as the new job title on 2 - Task Details.
To edit Task Definition Parameters:
To test this change, go to the Employees page, and request a new job change. After submitting the Request Job Change page, access the task details page through My Requests or Approvals Administration. Both the new job and the previous job are visible.
Parent topic: Editing Task Definitions
19.6.3.3.3 Adding and Editing Task Definition Actions
Add and edit Task Definition Actions by accessing the Task Definition in the Shared Components page.
This example uses the Sample Approvals application, which can be installed from the Gallery. In this example, suppose that you want to add an action that logs an event every time a task is complete.
This example requires a metrics table to be added to the Sample Approvals app through the SQL Commands page of the SQL Workshop.
CREATE TABLE EBA_DEMO_APPR_METRICS(
ID NUMBER GENERATED BY DEFAULT ON NULL AS IDENTITY PRIMARY KEY,
TASK_DEF_STATIC_ID VARCHAR2(255),
OUTCOME_CODE VARCHAR2(32),
APPROVER VARCHAR2(255),
APPROVAL_DATE DATE,
DAYS_ELAPSED NUMBER
);
To add and edit Task Definition Actions:
- Select the Sample Approvals app.
- Navigate to the Task Definitions page:
- On the Application home page, click Shared Components.
- Under Workflows and Automations, select Task Definitions.
- Click Salary Change.
- In the Actions section, click Add Action.
- Click Create.
- Click Apply Changes.
The new action adds a row into
EBA_DEMO_APPR_METRICS
every time a Salary Change task is completed. You could set up an interactive report based on this table to allow users to view metrics on approval tasks.
Parent topic: Editing Task Definitions