The Zurich release has arrived! Interested in new features and functionalities? Click here for more

sc_task approval request

Pnut
Tera Contributor

Hi, 

we in the process of creating a new department employee catalog item that users will fill out and state what access they will need. 

we have created a workflow (Dept1 WF) for this item that will create sctasks depending on the variables selected. out of these tasks, there are two "tasks" which will need to be approved from specific users before it can be processed. 

Currently, we can manually request approval on the sctask record, notification is sent and we wait for the approver to approve or deny the task. but we would like to automate it so that the approval is sent out as soon as the task is created. 

so for we were able to get the approver request populated on the Photoshop sc_task and "requested". we managed that by created another workflow (Dept1-sctask WF) on the sc_task table and set a condition to run only when the short description = "Photoshop SW". This workflow marks the Approval field on the sctask/ritm as requested and the approval is requested. But hangs waiting on the approval action. if approved or denied it will not advance and perform the other Actions. 

what I would like to happen is for the approval field to update to approved or denied on the sctask. From there the original workflow (Dept1 WF) takes over and closes the sctask if denied or remains open if approved so the tech can process the request accordingly. 

 

find_real_file.png

The issue i think is that it is still searching for the approval on the ritm level and not on the sctask which is why it cannot see the approved or denied state.

what am i missing? 

thanks

 

1 REPLY 1

Andrew Albury-D
Mega Guru

Hi Pnut,

I believe the "Approval Action" steps in Workflows write to the "Approval" field on the sc_req_item table. If you have set your workflow to run on another table (sc_task) then you don't need to include those steps at all. Skip them and go from the Approved / Rejected outputs of the Approval - User block, directly to the Logs (or, I'm guessing an Set Values block).

Hope that helps,

Andrew