state change to on hold and hold reason on awaiting change when we create change from incidnet
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
11-03-2022 01:37 AM
state change to on hold and hold reason
on awaiting change when we create
change from incidnet.
Thank you !!
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
11-03-2022 02:07 AM
Hi Adi,
Assuming you are using the 'Create Change' button from the header you would need to edit the UI Action for that button to something like the screenshot
You will need to modify you field names and the value behind them as per your own system
Ray
current.state = -4;
current.u_hold_reason = 'awaiting_change'
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
11-03-2022 02:09 AM
True state gets in hold but what about on hold reason how can I put that as awaiting change as awaiting change is new choice field not ootb
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
11-03-2022 02:47 AM
Hi Adi,
To get the filed name then you need to right click on the label for that field the Show 'field_name'. Use the value inside the quotes for the field name.
Click Show Choice List to display all the choices and select the appropriate Value you have set for Awaiting Change
As per @Balaram7 you can create a dependant value if you want the ability to set it manually
Ray
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
11-03-2022 02:25 AM
Hi Adi,
Create a new choice by configuring choice list of OnHold reason field and add "Awaiting change" as a new choice.
and add that field is dependent to the incident State field choice "onhold". and follow the steps mentioned by Raycallan in "Create change" Ui action.
Hope this will helps you.
Thank you,
Balaram.