Approver for a change task

drichter
Kilo Contributor

We need to have approvers for change tasks. I have copied the change_request workflow and modified it for change_task, but nothing is written to sysapproval_approver table. I have a field u_task_approver in change_task that is a reference to the sys_user table.
I have research extensively the wiki, approval engines, business rules to learn how the change_request approval request is added to the Approver table (Sysapprover_approver) in order to do the same for a change_task approver.
I have also tried all three choices for the approval engine for change_task, with no difference.

I have also created new work flow from routine change request for routine change task,
changed table, checked for anything else to change,
and published !

Default stages by table does not reference the beginning of any work flows,
And the script in the work flow references "current", implying it is already working in the approval table.


it remains a mystery how the record is getting inserted into the approver table by the change_request, so that I can do the same for change_tasks

8 REPLIES 8

cwilker10
Giga Expert

The approvals are entered from the Approval activities in the OOB Change Request workflows. If you wanted to have one for Change Task, you could change the table to Change Task in the properties and you would most likely have to change which field on the Change Task table you'd want to receive an approval. If you wanted to keep the Change Task approvals at the Change Request level(having the change request workflow go and wait for something to happen at all the change tasks) then you'd have to write some code to build the Approvals.

What exactly are you trying to do?


drichter
Kilo Contributor

Thank you for the quick response.
We want to keep the Change Task approvals at the Change Request level, and the Change Request approvals are to be independant of the Change task approvals.


drichter
Kilo Contributor

In the new workflow I already have table set to Change Task in the properties. Where would I tell the system which field on the Change Task table is being used for the approver ?
We want the Change Task to have its own approver, independant of the change request.


You would just pick it in the Approval Activity. You can do something like Requested By ->Manager if you wanted to do that.