i debugged some APIs on workflow package.
The process started at file bug.tcl line 319
it has the API call workflow::role::add_assignee_widgets
workflow::role::add_assignee_widgets -workflow_id $workflow_id -form_name bug -roles resolver
I went to the file workflow/tcl/role-procs.tcl where the API is located. At line 888, it calls another API in the same file called workflow::role::get_assignee_widget
ad_form -extend -name $form_name -form [list [get_assignee_widget -role_id $role_id -prefix $prefix -mode $mode]]
it is clear that apis are mounting extra ad_form extended fields with the workflow roles.
I went to the new API code and it has the line 743
set picklist [workflow::role::get_picklist -role_id $role_id]
This line takes to another API called workflow::role::get_picklist in the same file line 779. This API holds the resolver user_id info.
However, how does the code set the correct user by default on ad_form display mode?
Request notifications