Hi Michael
How does your code look like? Below is what I use to accomplish this in a JOBS PostProcess. If it's not working directly with a JOBP, you might still go for a SCRI based wrapper logic?
:SET &STATUS_PROCESS_HND# = CREATE_PROCESS(NEW)
:SET &RET# = PUT_PROCESS_LINE(&STATUS_PROCESS_HND#, 'Server§Message§', '§')
:SET &RET# = PUT_PROCESS_LINE(&STATUS_PROCESS_HND#, &FEEDBACK#, '§')
:PSET &STATUS_PROCESS# = SAVE_PROCESS(&STATUS_PROCESS_HND#)
Regards
Joel
------------------------------
Swisscom Automation Engineer & PE Membership Creator
Entfessle mehr Automic Wissen mehr Automic Tools
https://membership.philippelmer.com/------------------------------
Original Message:
Sent: 03-30-2020 11:46 AM
From: Michael Lowry
Subject: Calling a JOBP from an EXEC VARA
I'd like to call a JOBP to an EXEC VARA. The data to be returned to the calling EXEC VARA will be generated by the child job(s) of the workflow. It is not possible in this case to simply call a child JOBS object directly from the EXEC VARA. Is there any way to get data back from the workflow to the calling EXEC VARA?
When I try to :PUBLISH
the data sequence from the child job to the parent workflow, the EXEC VARA gets only the data sequence identifier and not the contents. (My guess is that this data sequence ID has meaning only within the context of the run ID of the child job.)