How to pass values from a from to a workflow that is inside another workflow

rocktheboat
Giga Contributor

How to pass values from a from to a workflow that is inside another workflow.

Thanks for your answer.

1 ACCEPTED SOLUTION

ashwinkumar_pat
Giga Expert

! !Hello Som,



Here is the documentation on how to do that.



1. Define inputs on the subflow - Define inputs for a subflow


2. Pass inputs from main workflow to subflow - Invoke a subflow in a workflow



Here is an example -



This example simply passes the value of short description field on incident form to a subflow. The subflow then copies the value of short description over to description field.



find_real_file.png




find_real_file.png




Step 1 - Create an input variable in subflow of type string and label it as short des


find_real_file.png



Step 2 - Add a run script to read the input variable in subflow


find_real_file.png




Step 3 - Drag and drop the subflow in main flow. You will get a dialog where you need to set the value of input variable you created in subflow in step 1.



find_real_file.png



Let me know if you need any additional info on this.


View solution in original post

6 REPLIES 6

Thanks for letting me know, I was not seeing the button for the correct answer, as the windows were collapsed. I have done it now! Thanks Again.


Does it work for sc_req_item tables as well