I am creating tasks using APEX_HUMAN_TASK.CREATE_TASK.
I can successfully create the tasks, but I want to associate the tasks with an active workflow, and am unsure how to do so.
The tasks are being created from a custom plugin that is part of the workflow, via the execution function:
FUNCTION f_create_tasks (
p_process IN APEX_PLUGIN.t_process,
p_plugin IN APEX_PLUGIN.t_plugin
) RETURN APEX_PLUGIN.t_process_exec_result IS
BEGIN
END;
I am not sure if this is even possible, but I want to be able to easily keep track of associated tasks, with the idea being that all tasks must be completed (but in any order) for the plugin to be completed and for the workflow to continue. I would prefer to not create an extra table, especially since the apex_tasks
table already has a workflow_id
column I could use to group the tasks together.
Thanks!