Does anyone know how I can set a path to iCloud so that I can save report in pdf format in iCloud must be working for iPhone, iPad and computer.
What do you mean with saving PDF on Cloud. You can use Set Field to store a PDF directly on your device (iPhone/iPad/computer). You can not save a reference file on Cloud since there is no hard drive to play around with.
Reading document, it would be Get(DocumentsPath) if you setup iCould Drive correctly. On computer Get(DesktopPath) would also work.
Add your Desktop and Documents files to iCloud Drive - Apple Support
Retrieving data ...