Plan and client page using same smart form code

  • 23 October 2005
  • 1 reply
  • 1 view

Badge +3
Is there a way to make a page both a client and plan page ?
Short of recoding the same program twice with different button, one for Plan button and the other w/a finish button ?
It would seem to be me that there should be a better way ..

1 reply

Badge +11
Due to the fact that a Plan page needs to call the CreateProcessInstance and StartProcessInstance methods while a Client page needs a Serial Number in order to open a specific Worklist item, the two types of Smartforms can not be the same. The only thing I can recommend is to use a separate class module to keep the code behind both forms.

Hope this helps,
Ockert

Reply