How to call sublow variables into the workflow in Workflow editor

truptikrish
Giga Contributor

Hi I have a workflow that is created on the sc_req_item table. Now when a RITM is created it triggers a catalog task now on this catalog task there must be a approvers so the table has to be sc_task .so i have created a subflow .., to handle the Approval now based on the output of the approval on the  subflow i need to create another 2 task if approved create task 2 , If rejected create task 3. Now how shall i get the value from the Subflow to actual workflow .., Please help me with solution!

Below is how i created the subflow

truptikrish_0-1786976498323.png

And this is the Subflow

truptikrish_1-1786976569316.png

How can i get the approved value and Rejected values to the actual flow and place it inside the If condition,, So that i can place them to their respective task ?

Thanks in advance! .I need to get it done in the Workflow itself 

 

1 REPLY 1

truptikrish
Giga Contributor

And also the Approvals are triggering on both sc_req_item table and sc_task table .., even after i creating the subflow on sc_task