inbound email action.

Tippireddy Venk
Tera Contributor

Hi,

I'm stuck with the inbound email action.

I want create the incident for entitydown alerts and relosve the incident for entityup alert . The state of the incident is store as value resolved but the incident is getting relosloving

 

 

 

 current.addEncodedQuery('active=true^descriptionLIKE' + email.body.failureobject);
            current.query();
            gs.log('ADM  the inc for ADM alerts')
            if (current.next()) {
                gs.log('resloved the inc for ADM alerts' + current.number + current.state);
                current.state = 6;
                current.update();
                gs.log('venkatesh 1'+current.state);
3 REPLIES 3

Siddhesh Gawade
Mega Sage
Mega Sage

Hello @Tippireddy Venk ,

 

Can you please elaborate more ? The issue is unclear for me.

 

Regards,

Siddhesh

I want to resolve the created(already existing record) incident by new inbound action.

 

AshishKM
Kilo Patron
Kilo Patron

Hi @Tippireddy Venk , 

I think, you are referring that , a resolved incident being re-resolved, if i am correctly reading your problem statement.

And where have you used this script code, provide more technical details about entitydown and entityup process.

 

-Thanks,

AshishKM


Please mark this response as correct and helpful if it helps you can mark more that one reply as accepted solution