Hi,
What are the steps that you are following to save the pdf?
If it is working at object level and not at Process level just add wait stages /sleep before performing the actions, As the processing speed is different at object/process/control room level.
Regards,
Ravinder Saini