Is there any option to trigger approvals based on selected affected CIs related list in CRs

Aswathy3
Tera Expert

Hi All,

 

Is there any option to trigger approvals based on selected affected CIs related list in Change Requests?

 

After submission of CR, Change Owner will select and add the different affected CIs and based on these CIs Change Group approval needs to trigger based on the Support group mentioned in the CI form.

Can anyone please help me on this?

 

Thanks

Aswathy

8 REPLIES 8

Hi @Aswathy3 

Can you share the script you are using?

Thanks,
Anvesh

Hi Anvesh,

 

Please find the below script that we have tried in workflow.

var answer = [];
var tskCIGr = new GlideRecord('task_ci');
tskCIGr.addQuery('task', cuurent.sys_id);
tskCIGr.query();

while(tskCIGr.next()){
answer.push(tskCIGr.ci_item.support_group);
}

 

Thanks

Aswathy

Please can you tell me how we can achieve it if we are using flow designer?

i have requirement where normal change request is having multiple affected ci's and if any of the CI having field - "XYZ" contains value - "ABC" then approval should be generated to - "LMN" group.


we are using  flow - "Change - Normal - Assess" which already contain 5 level of approval based on change approval policies configured. and now i have to insert post level 2 approval based on above customer requirement.

Hello,

I have a requirement which is similar to the above scenario, I need to trigger an approval for the Impacted CIs and Services. Any suggestions would be helpful.