Skip to Content
0
Former Member
Jun 08, 2011 at 11:48 AM

Conditional execution of scripts logic files

42 Views

Hi,

I have several scripts included in my default logic and as you know this is not best practice due to performance considerations.

Unfortunately I need the scripts, but depending on specific accounts. Some scripts are complex and others are simple. I have thought of collapsing all in one script, but I'm not sure if this is the best way to move forward.

The best solution would be to put condtions in default logic like:

If account = "X" then run script1.lgf
if account = "Y" then run script2.lgf

I have tried to find a solution on this problem - any suggstions or comments?

Thanks,

Lars