CAB Workbench: Questions on Pre-Approved and Ordering Agenda Items
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
06-05-2017 02:25 PM
We've recently activated the CAB Workbench plugin in our sandbox instance, and I had a few quick questions regarding how agenda items are automatically created from change requests by the 'Refresh Agenda Items' related link:
- Some agenda items that are pulled in are listed with a decision of 'Pre-Approved'. There is not a business rule running that I can see which sets this field, and it seems to be happening whether the change request has outstanding approval requests or not. I have found methods in the CABAgendaItemsSNC that set the state to pre-approved, but I have not found where they are called when clicking the Refresh Agenda Items link. Essentially, I'd like to know what is determining the pre-approved status of a change request specifically, and whether or not I am able to change that definition.
- Agenda items are also created with an Order, which determines the order they appear in the cab workbench view. Again, I've found methods in the CABAgendaItemsSNC that consider this order, but not where it's defined or what parameters it's considering when setting the order. How can I change the way these items are automatically ordered?
Thank you in advance for any help.
- Labels:
-
Change Management
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
08-25-2017 02:35 PM
Hi Patrick,
1. What is determining the pre-approved status of a change request - Approval status of change request determines this, if this is approved, agenda items decision is pre-approved.
2. Whether or not I am able to change that definition - You can change this definition from doing the changes in "addAgendaItem" function from script include "CABMeetingSNC".
3. How can I change the way these items are automatically ordered - Currently the order is determined with the ascending order of "start_date" of the change_requests. First change_request are sorted by "start_date" and first is given order 10 and then order is increased by 10 per item. To change the order, you can refer the "refreshChangeAgendaItems" function from script include "CABMeetingSNC". (Look at the line where 'chgItm.orderBy('start_date');')
Hope this helps.
Thanks,
Himanshu
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
08-29-2017 04:16 PM
Patrick,
We are glad you took advantage of the ServiceNow Community to learn more and to get your questions answered. The Customer Experience Team is working hard to ensure that the Community experience is most optimal for our customers.
If you feel that your question was answered, we would greatly appreciate if you could mark the appropriate thread as "Correct Answer". This allows other customers to learn from your thread and improves the ServiceNow Community experience.
If you are viewing this from the Community inbox you will not see the correct answer button. If so, please review How to Mark Answers Correct From Inbox View.
Thanks,
Shivani Patel