generic_activity_log
This method allows to create activity log for cr,chg and iss objects
Definition:
generic_activity_log ( uuid, string, string, string, int, int ) ;
uuid - user id
string - persistent_id of the object
string - description
string - activity log type
int - time spent on activity in seconds
int - visibility of the log (0 - public, 1 - internal)
working example:
uuid who;
send_wait(0,top_object(), "call_attr", "cnt", "current_user_id");
who=msg[0];
send_wait(0, top_object(), "call_attr", "api", "generic_activity_log", who, "cr:401096", "test description", "LOG", 0, 0);
if (msg_error()) {
logf(ERROR,"Error %s",msg[0]);
}