AnsweredAssumed Answered

Object checked out by someone else

Question asked by fsantan on May 13, 2016
Latest reply on May 24, 2016 by fsantan

Hi I created the following spel just to add a log comment when a field is populated in a change. But I received the following error Object chg:429619 checked out by someone else

 

what do I need to change on my spell

 

mod file

MODIFY chg POST_VALIDATE z_cico_log() 62175 FILTER(z_checkin_comments{});

 

Spel

 

chg::z_cico_log(...)

{

uuid who; 

logf(ERROR,"1"); 

send_wait(0,top_object(), "call_attr", "cnt", "current_user_id");

logf(ERROR,"2"); 

who=msg[0]; 

logf(ERROR,"3");

send_wait(0, top_object(), "call_attr", "api", "generic_activity_log", who, persistent_id, "test description", "LOG", 0, 0);

logf(ERROR,"4"); 

}

Outcomes