How to Update Business Application form by using catalog item
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
01-01-2024 09:33 PM
Hello Experts,
In business application (cmdb_ci_business_app) form having 20+ attributes. Same attributes I have created in catalog item.(to reduce ITIL role usage).
Workflow of this catalog item I want to send approvals with below conditions
Approval Condition 1 :
Name(string) , Business Functions (reference) , Business Domains(referenced to business_unit table) if these 3 attributes end user is trying to update then approval need to go Business Domains assigned to person.
Approval Condition 2 :
In scope QDIM (select box) , QDIM compliance(dropdown) If these 2 fields end user is trying to update then approval need to go ABC person.
Approval Condition 3 :
Application service(referenced to application_service table),Support vendor(reference) , Application URL (URL) if these 3 fields end user is trying to update then approval need to go Application service Assigned to person.
Approval Condition 4 :
If user is trying to update Assignment group field then approval need to go current assignment group.
Workflow activity :
Once above 4 approvals is approved then at the end we need to update selected Business Application form automatically.
How to achieve this requirement.
Thanks in advance.
Best regards,
Nani.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
01-01-2024 09:39 PM
Hi @Nani18 ,
Here's a simplified outline:
### 1. Create Variables:
- Make sure your Service Catalog Item includes all the necessary variables (Name, Business Functions, Business Domains, In scope QDIM, QDIM compliance, Application service, Support vendor, Application URL, Assignment group).
### 2. Configure Workflow:
- Create a new workflow for your catalog item.
### 3. Add Approval Activities:
#### Approval Condition 1:
- Add an "Approval - User" activity to the workflow.
- Set the conditions to check if Name, Business Functions, and Business Domains are being updated.
- If the conditions are met, assign the approval to the Business Domains' assigned person.
#### Approval Condition 2:
- Add another "Approval - User" activity.
- Set the conditions to check if In scope QDIM and QDIM compliance are being updated.
- If the conditions are met, assign the approval to the ABC person.
#### Approval Condition 3:
- Add another "Approval - User" activity.
- Set the conditions to check if Application service, Support vendor, and Application URL are being updated.
- If the conditions are met, assign the approval to the Application service assigned person.
#### Approval Condition 4:
- Add another "Approval - User" activity.
- Set the conditions to check if the Assignment group is being updated.
- If the conditions are met, assign the approval to the current assignment group.
### 4. Add Update Activities:
- After the approval activities, add activities to update the Business Application form once all approvals are approved.
### 5. Configure Transitions:
- Connect the activities with transitions based on approval outcomes.
- Ensure that the update activities are only executed if all approvals are approved.
### 6. Test:
- Thoroughly test the workflow with various scenarios to ensure that approvals are triggered correctly, and the Business Application form is updated accordingly.
Make sure to adjust the conditions and activities based on your exact field names and requirements. Always test thoroughly in a non-production environment before deploying to production.
Thanks,
Danish
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
01-01-2024 09:55 PM
Hello @Danish Bhairag2
Thank you !
I am new to script and workflows
Here I am having 3 questions :
1.How to send approvals to Business Domains ==> Assigned to person
2 .In approval condition how can we check which fields are updated with new value which is updated by end user.
3. How to update business update business application form by using script.
Thanks in advance
Best regards,
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
01-02-2024 12:57 AM
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
01-02-2024 01:02 AM