Hi,
In object studio its working fine(the pdf file name is populating in the File name). But when executing from process studio, above said error is coming. In Application modeller i have clicked on attach as we can see in the below screenshot.
View attachment 109
Hi Manju,
Hope you tried the solution provided by anisjolly.
To clarify, you mentioned
"In Application modeller i have clicked on attach".
You should not be clicking on it one time manually.
As anisjolly suggested, you need to have a separate Action to attach.
Usually the Attaching is done in a separate page. Make a new page named Attach. Use the
Navigate stage and choose Attach. An application can be attached by using the window title or by process name.
The purpose of Attach is to connect the BO to the application that is already running. In your case these are not attached and hence the error "Not Connected". If the application is not running, the Attach will fail.
On the other other hand, if a Business Object is already attached to an application and if the process tries to Attach again it will fail. For Attach to work, the BO must not be attached to the application already.
In order to resolve this conflicting situation, just prior to Attach use a
Reader stage and select the root element and in the dropdown choose 'Is connected'. This will return a True/False flag and then depending on its value you can connect it to the Navigate (attach) stage. If it returns True it means it is already connected so you can end this page and continue your processing to your next required page. If it is False then point it to the Navigate stage that contains the Attach action.