Clarity Service Management

generic_activity_log 

12-09-2015 04:54 PM

SPEL API methods

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]);
}
      

 

Statistics
1 Favorited
9 Views
0 Files
0 Shares
0 Downloads

Tags and Keywords

Comments

18 days ago

Is there a way to get the ID back of the ALG record that was just inserted when calling this?

03-22-2016 01:41 PM

excellent!

02-19-2016 08:04 AM

Hi Giedrius,

 

Thank You for sharing generic_activity_log  with us.

 

Regards

Related Entries and Links

No Related Resource entered.