Hi,
first of all, I am very new to APEX development (however, I have experience with other low-code platforms).
We have been tasked with the evaluation of the approval functionality in APEX and have therefore installed the sample app and also created our own apps. In the end, we would like to implement an approval flow in our own application. So far, I have been able to create a task definition and corresponding actions & pages (as described in the blog post https://blogs.oracle.com/apex/post/introducing-approvals-component-in-oracle-apex)..) I have also been able to copy an example task definition from the approval sample app.
But now I am stuck: Our target application has two task definitions (lets call them TD1 and TD2) and a page to capture the task details. On that page is a button (CREATE) that should trigger a defined process - for each TD a separate process has been defined in the processing tab of the page. But although the TDs and the processes are (seemingly) completely identical, only one of them works as expected (i.e. the created tasks appear in the unified task list for approval/ rejection).
Initially, the task definitions and the processes were created differently - TD1 has been created from scratch (based on the blog post) while TD2 has been copied from the sample approval app and adjusted to our needs. But since we have only managed to get TD2 to work, we have changed all the parameters of TD1 to match TD2. However, TD1 does not work.
EDIT: I have now discovered, that TD1 also does not create any entries in “apex_tasks” list. Seems that the connection between the task definition, the process and the apex_tasks list is somehow broken.
Does anyone here have an idea, where there could be additional settings which may differ, that we have not reviewed?
The main issue is, that in another environment (version 22.2.0.) we cannot even get the copied sample to work and I am hoping that the underlying problems may be the same.
Please let me know if you need additional details.
Thanks and best.