state not update
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
13 hours ago
Hello,
Im creating ebonding of problem in servicenow instance both side problem create and update all fields update but the only is State(life cycle) is not change.
Ex. In A create/update to B create/update in this process all work short description, description work note, all
just only state New-> Assess work but remain state not work as usually in A side state as normally work but my issue is when in A New->Assess->Root cause->Fix in progress->Resolved->closed
this all not update only new->assess work
this is regarding problem ebonding issue
im stuck here
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
12 hours ago
im using Business rule
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
12 hours ago
Hello @Vaibhav Ramteke ,
Probably ServiceNow's problem table has an ootb state model with mandatory field validation per state. moving past assess requires certain fields to already be populated:
Check that by running this in background script :
var gr = new GlideRecord('problem');
if (gr.get('number', 'PRBxxxxxx')) {
gs.print('Current state: ' + gr.getValue('state'));
gs.print('Cause notes: ' + gr.getValue('cause_notes'));
gs.print('Fix notes: ' + gr.getValue('fix_notes'));
gs.print('Resolution code: ' + gr.getValue('resolution_code'));
}
If my response helped mark as helpful and accept the solution.