Kaseya Community

GOTO function in Agent Procedures

  • Hi,

    I couldn't find any method to use GOTO, JUMP, CALL functions in agent procedures. Please let me know if anyone using any alternatives?

    Thanks in advance.

  • You could use the IF and Else to build some loops, but this not here for that...

    Call exists as you can execute procedure (child procedure)

    Could you say more in the usage of the Goto, Jump ?

  • Hi Etienne,

    Thanks for your reply.

    If I need to use the same function at multiple places then probably I can write multiple functions with the same procedure (instead of multiple procedures) and can use GOTO or JUMP to call the function.

    After starting to write a procedure for my requirement, I guess the GOTO doesn't need as of now. Probably it is required for more complex procedures.

    Thanks once again.