Friday, May 8, 2015

Trick to calling other custom functions from within Zoho CRM custom function

One thing that has bugged me about Zoho CRM custom functions is that they can quickly become very bloated because the programming interface steers you towards putting all the code in one method. I realised today that there is a way around that though. If you add the namespace 'workflowspace' before the custom function name, you can call it from another custom function.

E.g. workflowspace.round_robin_engagements(engagement_id.toLong());

2 comments:

  1. Is this still working for you? I think they've blocked it now, getting an error when i try putting a method name with a "." in it.

    ReplyDelete
  2. Yup. What is the full line of code you're using?

    ReplyDelete