Undestanding execution limit
Hi,
i'm trying to understand the execution limit on creator's function.
So, take a look to this screen:
![](https://desk.zoho.com/portal/api/uploads/edbsnb5dad6084dcd290cb999914c57f363a4/content?portalId=edbsn3b70dd1c6df566ee5b86f9a10b39ac781e714edb9c3a38a191adf0c5b716166e)
This snippet work.
But if i add:
![](https://desk.zoho.com/portal/api/uploads/edbsn3d461528dec46894cdedec64af5b9c10/content?portalId=edbsn3b70dd1c6df566ee5b86f9a10b39ac781e714edb9c3a38a191adf0c5b716166e)
i reach execution limits.
Also if a wrote ONLY if (condition) {} this if gives to me an execution limit error.
But if i rewrite the logic like this:
![](https://desk.zoho.com/portal/api/uploads/edbsn3f38fd59f0662b7d447940bbcd81a5b5/content?portalId=edbsn3b70dd1c6df566ee5b86f9a10b39ac781e714edb9c3a38a191adf0c5b716166e)
works properly.
So... what? I don't understand the logic behind this error... How the last snippet can't reach execution limits and the first one, only for a simple "if" reach this error?
It's a bug or... ?
Salvatore
Zoho Developer Community
Deliver unforgettable customer experiences
Deliver unforgettable customer experiences
New to Zoho Marketing Plus?
Everything you need to run your marketing
New to Zoho Marketing Plus?
Everything you need to run your marketing
Zoho Desk Resources
-
Desk Community Learning Series
-
-
-
-
-
-
-
-
-
Zoho TeamInbox Resources
Zoho DataPrep Resources
Zoho CRM Plus Resources
Zoho Books Resources
Zoho Subscriptions Resources
Zoho Projects Resources
Zoho Sprints Resources
Qntrl Resources
Zoho Creator Resources
Zoho WorkDrive Resources
Zoho Campaigns Resources
Zoho CRM Resources
Zoho Show Resources
Writer Get Started. Write Away!
Writer is a powerful online word processor, designed for collaborative work.