Hi,
I have created a table which uses a custom object to which is attached an approval process. I’ve got a button that submits the approval. All that works fine. Users are able to approve by email and the table updates perfectly.
However, users would like to also be able to approve directly from the table. I’ve tried adding buttons to approve or reject (with the proper action through Salesforce) but no matter what I do it won’t work. I’ve created a drawer with two tables that contain information (through models) on the ProcessInstance and on the ProcessInstanceWorkItem, as I cannot do that through the original table. I have the ProcessInstance model linking to the row record id of the first table. And I have the ProcessInstanceWorkItem linking to the ProcessInstance id.
I was hoping this would work but the approve/reject buttons remain passive. Am I trying the impossible? Has anyone been able to do this before?
Many thanks in advance!!!