Syntax Exception while creating an apoc procedure inside a apoc trigger

Thanks Stefan. That worked.
Can you also please suggest me something on the following question. Your expertise is greatly appreciated.