Hi pochien,
No, unfortunately the K2Conn.ViewProcessInstance method call takes a Process Instance ID as parameter. A ProcessInstanceID is only generated for running process instances i.e. you'll need to start a process instance before displaying the Viewflow.
Regards,
Ockert
The statements and opinions made in my postings are my own, and do not reflect the opinions of SourceCode Technology Holdings, Inc. or its subsidiaries. All information is provided as is with no warranties, express or implied, and grants no rights or licenses.