These forums are now Read Only. If you have an Acrobat question, ask questions and get help from one of our experts.

Closing Process through client interface

deepusrp
Registered: Jan 12 2009
Posts: 51

Hello All,

Consider that there is a form, which has opened as a result of new process initiation. My requirement is, there should be a checkbox which says CLOSE. When the user checks this box and completes the form(clicks Complete), the process should be killed. Not just the PDF has to be closed but the process initiated also should be closed.

Can I do this... Any code Snippet...?

Thanks
Deepak.

My Product Information:
LiveCycle Designer, Windows
radzmar
Expert
Registered: Nov 3 2008
Posts: 1202
With Designer-JS you cannot close a doc, because it's not supported (until now).
In Acrobat-JS you can use this.closeDoc(true); for closing a PDF, but it could be, that it is not allowed anymore thru security restrictions.
I didn't test it.
What I know is, that your not able to close the whole application (Acrobat/Reader) thru JS!

I fact, I don't understand your meaning of "process" that you wish to kill.

radzmar
LoveCycle Blog
Documents you need:
LiveCycle Designer ES2 Docs

deepusrp
Registered: Jan 12 2009
Posts: 51
Hello radzmar,

When we login to workspace, we can start a process. That process will be there in the queue untill it completes or get cancelled by the administrator.

I want to kill the process or to complete the process not going through the entire path. Can I do that.

In the process diagram, i'll have route validation. Based on the result I want to continue or cancell. What will happen, if I put 'evaluate' (dummy) activity at the cancell route. Will the process gets completed as there will be no further route to continue...??

Thanks
Deepak
radzmar
Expert
Registered: Nov 3 2008
Posts: 1202
OK, I think this question goes about my knowledge, cause I don't have the LiveCycle Workspace ES only the LiveCycle Designer that comes with Acrobat.

Maybe Thomp can give your an answer to this.
Otherwise you should have a look at Adobe's officical Livecycle Forums.

http://www.adobeforums.com/webx/.3bca1ed5/

radzmar
LoveCycle Blog
Documents you need:
LiveCycle Designer ES2 Docs

deepusrp
Registered: Jan 12 2009
Posts: 51
Can anybody help !!!

I need to terminate a process I created depending on some form element's value.