shellybabber
9th February 2011, 13:27
Hi All,

I am creating session that will create Follow up calls for Service module automatically using AFS.
AFS is a new concept for me.
I want to click button "New follow up" in Calls session(tsclm1100s000)using AFS but not clear with the syntax.

Syntax for form command is:-

stpapi.form.command("tfgld1101m000", 5, "exec.cont.process", error.msg)

Can any one tell what '5' here signifies and is 'exec.cont.process' function name as mentioned in form command?

We use function name or label name in the above syntax?

Thanks
Shelly

mark_h
9th February 2011, 19:14
This forum is the correct forum for api questions.

The second parameter on the stpapi.form.command represents the type of form command. The document I use shows 2 for session and 5 for function. Then the third parameter is name of the session or name of the function to be executed.

shellybabber
11th February 2011, 07:33
Thanks Mark!!!