Hi,Thanks in advance. I am trying to get the jobid of the job, which initiated the workflow in the workflow. Can anyone tell me how to get the jobid? I dont want to use iwgetfilejobs CLT.Thanks,Vinitha
Are you talking about getting the jobid during instantiation within the WFT? Or getting the jobid in some externaltask or cgitask script? Or something else?
I want the Jobid in the wft file, after the instantiation.Thanks,Vinitha
There's no way to do it before instantiation, because the job doesn't exist until after instantiation.Where/why are you trying to do this?Any externaltask or cgitask script can access the jobid.You can also use the eastartop or eafinishop directives with %workflowid; to set the jobid on the assets being processed by the job.
Thanks for your response Fish. I am trying to get the DCR's of all attached files to the job and want to submit the DCR's.Thanks,Vinitha
You dont require a job id to get the list of attached files during the workflow instantiation. All the files attached to the workflow is available though the 'iw_file' post variable.
and? what do you do with this? In an external task?Also, why do you think there is a GetFiles() in TeamSite::WFtask.pm?