- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
11-21-2024 11:27 PM
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.
Solved! Go to Solution.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
11-22-2024 12:40 AM - edited 11-22-2024 12:41 AM
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.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
11-22-2024 12:39 AM
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
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
11-22-2024 12:40 AM - edited 11-22-2024 12:41 AM
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.