Clarity Service Management

get_valid_tasks_wc 

12-09-2015 05:18 PM

SPEL API methods

get_valid_tasks_wc

 

Gets valid workflow task statuses

 

Definition:

get_valid_tasks_wc( string );

string - persistent_id of the workflow task

 

working example:

send_wait(0, top_object(), "call_attr", "api", "get_valid_tasks_wc", "wf:400017");
if (msg_error()) {
printf("Error %s",msg[0]);
}
else
  {
  int i;
  for (i=0;i<msg_length();i++) {
   printf("msg[%d]: '%s'", i, msg[i]);
   }
  }
//output:
//msg[0]: '(code = 'APP' OR code = 'PEND' OR code = 'REJ' OR code = 'WAIT') AND is_internal = 0'
//msg[1]: 'tskstat'
  

Statistics
0 Favorited
0 Views
0 Files
0 Shares
0 Downloads

Tags and Keywords

Related Entries and Links

No Related Resource entered.