CA Service Management

 View Only

generic_activity_log 

Dec 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
27 Views
0 Files
0 Shares
0 Downloads

Tags and Keywords

Comments

Aug 02, 2019 03:07 PM

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

Mar 22, 2016 01:41 PM

excellent!

Feb 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.