CA Service Management

 View Only
  • 1.  How it works add_time_animator?

    Posted Sep 23, 2017 12:31 PM

    Hi guys,

    Does anyone know how to use the Spel method 'add_time_animator'? I have already tried the following syntaxes and still could not get it to work:


    add_time_animator("fire_cnote_animator", (date) "09/24/2017 12:29:27", (duration) 0, "cnote:400051", "deactivate_cnote", "DOB", "");

    send_wait(0, (object) "@|animator_nxd|Animator", "add_time_animator", "fire_cnote_animator", (date) "09/23/2017 13:00:00", (duration) 0, "cnote:400051", "deactivate_cnote", "DOB", "");



    The method below to delete animator works!

    send_wait(0, (object) "@|animator_nxd|Animator", "delete_animator", "cnote:400051", "*", "*");







  • 2.  Re: How it works add_time_animator?

    Broadcom Employee
    Posted Sep 27, 2017 04:57 PM

    Hi folks,


    Any suggestions for Daniel on this one?




  • 3.  Re: How it works add_time_animator?
    Best Answer

    Posted Sep 28, 2017 11:12 AM

    Hi Daniel.

    I'm not aware that this inbuild function is in use by any spell code provided by CA. And I never used it ,nor did I get it to run

    Anyway: I assume this function is intended to create an ANI record, which of course can be done by yourself as well:


    just create a new object of factory ANI and fill in the required information:

    object ani_gl,ani;


    send_wait(0, top_object(), "call_attr", "ANI", "get_new_dob", NULL, NULL, ani_gl);

    ani = msg[0]; = "Your name here" = persistent_id;        // your context object persid
    ani.method = "execute";            // the object method name , which gets called in context of your context object when the ANI fires
    ani.timer = (date)(target_date );  // your firetime
    ani.org_timer = (date) now();
    ani.lock = "";
    ani.user_string = "a user string";

    send_wait(0, ani_gl, "checkin");


    hope that helps

    Kind regards


  • 4.  Re: How it works add_time_animator?

    Posted Sep 28, 2017 01:22 PM

    This method I already knew Michael. but thanks anyway. I am documenting in a structured way all the known SPEL functions and unfortunately the add_time_animator function we still do not know how to use it.