- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
03-07-2023 05:59 PM - edited 03-07-2023 07:56 PM
Can anyone help me in how to show RITM number in short description on change request form.
To auto populate Change Request Planned Start Date depending upon the RITM creation date
aAs mentioned in below screen shot the highlighted fields should get auto populate when the User select the option in Catalog Item @Ankur Bawiskar @BharathChintala @Anil Lande @Sumalatha Y @mattystern @SatyakiBose @asifnoor @Pradeep Sharma
as the Impact Business Unit field is refered to a below mention varaible
in the data lookup table when the User selects Group then the Local/Regional CAB field should populate Regional CAB other wise it should populate Local CAB
Solved! Go to Solution.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
03-09-2023 03:15 AM
Hi @Arjun Reddy Yer ,
.
In the screenshot above you haven't created any GlideRecord reference for change record, but you are calling a variable called "changeGlideRecord", so it's throwing error in that step of work flow.
If you want to create a change Request along with the Task, You should write code something like this.
var changeGlideRecord = new GlideRecord();
changeGlideRecord.initialize();
changeGlideRecord.short_description = current.number + 'Standard Change Request for Firewall Change Request';
changeGlideRecord.satrt_date = current.created.addDays(11);
/* Populate all the change field values here like this*/
....
....
changeGlideRecord.insert();
For the Local/Regional CAB field, as you said the company is a reference field, there should be some criteria to identify which is the group company and which is not. If you can share us that we can help in writing the logic to populate the Local/Regional CAB fields.
Thanks,
Anvesh
Anvesh
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
03-10-2023 06:38 AM
Hi @Arjun Reddy Yer ,
It seems all in place as per the screen shots. To identify the error which is causing this flow to fail, you can check node logs.
1. Create a request and note down the time at which the error was fired. To check the time go to the workflow contexts.
2. Then open Node log browser from filter navigator.
3. Fill in the time period for which you need the node log and then submit.
4. Go through the each and every log thoroughly, you should find the issue.
Thanks,
Anvesh
Anvesh
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
03-08-2023 12:31 AM
below error I got when I created a request. It's not even creating Change request
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
03-08-2023 12:33 AM
@Arjun Reddy Yer can you send me the script screenshot once again what you have written
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
03-08-2023 12:36 AM
Please find the script that has written
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
03-08-2023 12:39 AM
please clarify on which table workflow is written and what is getting created from create task activity
if Create task activity is creating change_request and workflow is on request item
If yes then please change the script to below and try
task.short_description=current.number+' '+'Standard change Request for Firewall Change Request';
If my answer solved your issue, please mark my answer as ✅Correct & 👍Helpful