Trigger an approvals in normal change when it was moving to the assess state

charankumap
Tera Contributor

In the Normal Change module, when I select a Configuration Item (CI) as ABC Group and move the change state to "Access"(submit for approval) it should trigger the approval for the related items under the approvals of that CI. How can I configure this? 
For clear understating i have attached the Screenshot.

1 ACCEPTED SOLUTION

Saiganeshraja
Kilo Sage
Kilo Sage

Create a flow with following conditions:

Trigger: State changes to assess ( any other if you are having)

 

Use Approval Activity: Select the related group.All the relationships are stored on "cmdb_rel_ci" table.

Choose appropriate actions based on approved or rejected based on your requirement.


Mark correct and helpful. if it helps.

View solution in original post

2 REPLIES 2

Mark Manders
Mega Patron

Relations are kept in the cmdb_rel_ci table, so in your flow or workflow, you need to dotwalk to that table and get that group as approval group(s). If you are using flows, you can just do a lookup to the cmdb_rel_ci records for the CI with relation ship type approves by and for each found record you create an approval record for the group. Within the workflow, this will need some scripting.


Please mark any helpful or correct solutions as such. That helps others find their solutions.
Mark

Saiganeshraja
Kilo Sage
Kilo Sage

Create a flow with following conditions:

Trigger: State changes to assess ( any other if you are having)

 

Use Approval Activity: Select the related group.All the relationships are stored on "cmdb_rel_ci" table.

Choose appropriate actions based on approved or rejected based on your requirement.


Mark correct and helpful. if it helps.