Hi Dharma,
Do you use Pro or 10.x? Here are some information regarding where we store the jtc file and it might help you find a workaround.
If you use Pro, we store the jtc file in the project and you can try to navigate to the project folder. If you use 10.x, once you add the connection in Workflow Manager Administrator, the jtc file gets stored at \ProgramData\ESRI\WMX\10.7\Database. You can also make a copy of the jtc file else where.
Hope it help. If you would like to share more information regarding how you pass on the jtc file path, I'm more than happy to discuss with you for other possible solutions.
Thanks,
Meggie