Requirement

Community Alums
Not applicable

 

Hello Team,

 

I need to trigger the approval to Approval group , owned by and Managed By  for affected CIs and Affected Business Services if Outage is present. If it does not present then Needs to Trigger Notification Approval group, owned by and managed by on change Table while moving towards to request approval button.

 

Initially I created workflow and write script on that for approval. it was triggering approval. but now only condition added if outage is present.

 

I added Approval coordinator activity. 

 

ooo_0-1693896273083.png

 

 

 

 

Also added script below 

 

ooo_1-1693896274661.png

 

 

ooo_2-1693896274109.png

 

 

 

Now advise me we have to check If outage is present then needs to above approval. If it is not present, then send notification .

3 REPLIES 3

Saurabh Gupta
Kilo Patron
Kilo Patron

Hi,
For notification you just need to trigger an event.

 

 


Thanks and Regards,

Saurabh Gupta

Community Alums
Not applicable

Hello @Saurabh Gupta   I think you not understand my question : -

 

My question I am able to trigger approval , however whatever code i have written that not my fulfil my requirement .

 

My Requirement is if outage is present for  change request for affected Cis and affected business services then these approval needs to be trigger to as per our requirement if outage is not der then needs to Tigger notification .  

 

Please help me with my code . 

Saurabh Gupta
Kilo Patron
Kilo Patron

Hi,
Are you using "cmdb_ci_outage" table for registering an outage?



Thanks and Regards,

Saurabh Gupta