AnsweredAssumed Answered

Delete and Cancel Spel Methods on atev Object

Question asked by Alan_Eth on Apr 13, 2018
Latest reply on Apr 18, 2018 by Alan_Eth

We have some very complex SLAs which require us to add a lot of Attached Service Type Events (atev's) to some tickets, only a subset of which will apply for each individual ticket. Because we cannot reduce the number at ticket-logging time we are looking at a nightly clean-up of events that would never apply. We would write this in Spel.

 

Using bop_sinfo to look at the methods on the atev object, I get the following (I've removed a few):

        cancel_by_group( void );
        cancel_me( void );
        delayed_cancel_me( ... );
        delete_wc( object|nil, string, long );
        nuke_by_id( object|nil, string, string|nil, long );

 

Can anyone tell me what the parameters are for the delete_wc and nuke_by_id methods? Note that the delete_wc on this object is different from the more generic api version that you would use like " send_wait(0, top_object(), "call_attr""api""delete_wc""grpmem", ... "

 

Also, do I have to cancel an atev before I can delete it? And, if so, what are the advantages of the delayed_cancel_me over just cancel_me?

 

Using r12.6.

 

 

Thanks in anticipation,

 

Alan

Outcomes