Hello @CampaignerForLife
In your main wf define the variable like this:
vars.mainWFVar=1;
Master WF:
![Manoj_Kumar__0-1679483835548.png Manoj_Kumar__0-1679483835548.png](https://experienceleaguecommunities.adobe.com/t5/image/serverpage/image-id/55251i35CDB76A10A76716/image-size/medium?v=v2&px=400)
Then in the Sub-workflow you can use the same variables to add values to it:
vars.varfromMainWF = vars.mainWFVar + 5;
logInfo(vars.varfromMainWF)
Sub-workflow
![Manoj_Kumar__1-1679483939891.png Manoj_Kumar__1-1679483939891.png](https://experienceleaguecommunities.adobe.com/t5/image/serverpage/image-id/55252i10C804A5693F29AE/image-size/medium?v=v2&px=400)
And if you start the mast WF you see the updated added in the logs:
![Manoj_Kumar__2-1679484007671.png Manoj_Kumar__2-1679484007671.png](https://experienceleaguecommunities.adobe.com/t5/image/serverpage/image-id/55253i43D786AC8648BAAD/image-size/medium?v=v2&px=400)