Jump to content
Sign in to follow this  
Rajesh.SS

Configuration Item required on Closure of incident

Recommended Posts

Hi I wrote below spl script & trigger but it doesn't work for me.. Ticket not getting saved with or without configuration item.. Can you please help me where i am doing wrong..

 

cr::zmyscript(...)

string zmsg;         
if(is_empty("affected_rc")) 
{             
zmsg=format("Configuration Item is required in order to close this incident"); 
set_error(1);
set_return_data(zmsg);
return;
}
}

 

PRE_VALIDATE zmyscript() 111 FILTER(active==0);

Share this post


Link to post
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
Sign in to follow this  

×