generic_status_change

Document created by Gutis Champion on Dec 9, 2015
Version 1Show Document
  • View in full screen mode

SPEL API methods

generic_status_change

by: utku.alp

This method updates status of an object eg. cr, chg, iss

 

Definition:

generic_status_change ( uuid, string, string, string ) ;

uuid - user id

string - persistent_id of the object

string - description

string - status persid

 

uid who; 
send_wait(0,top_object(), "call_attr", "cnt", "current_user_id");  
who=msg[0];  
send_wait(0, top_object(), "call_attr", "api", "generic_status_change", who, "cr:644851", "Status change description", "crs:5212");
if (msg_error()) {  
  logf(ERROR,"Error %s",msg[0]);  
} 
4 people found this helpful

Attachments

    Outcomes