- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
05-13-2022 12:47 AM
We have a custom field(True false type) on change form which is getting updated,
Initially it is set to false, when the change state changes from schedule -> Implement it get updated to true and when again when state changes from implement to review it changes again to false .
We got a script in workflow which was setting value of this to false in second case(i.e from implement to review) but could not figure out from where this value is setting up to true when change moves from schedule to implement.
I checked BR, Client script, UI policies each and every in the script, checked all workflow related to change_request and every script in all of them, but couldn't find out from where the field is getting updated.
Can you please suggest more possible ways or place where I can check for this?
Thanks in Advance
Thanks and Regards,
Rahul
Solved! Go to Solution.
- Labels:
-
Change Management
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
05-13-2022 12:55 AM
Hi,
My first thought would be watching the field.
On the Change form (UI16), alt click the custom field label, to bring up the context menu. Click 'Watch...', this should open up the Field Watcher. Run the steps that cause the field to change and review the Field Watcher output.
hth,matt
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
05-13-2022 06:33 AM
If you click on the hyperlinked 'Save' it should take you to the action that is playing with the form/record values?
Does that give any more information?
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
05-16-2022 10:14 PM
Hi,
No that hyperlink is not opening anything, I tried checking for that, secondly I checked "Save" UI action button but it also doesn't seems to be containing anything which may affect this custom field.
Thanks and Regards,
Rahul
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
05-17-2022 12:32 AM
Hi,
Swapnils suggestion sounds a good way to go, to validate all your initial checks. As an addition to that, you could progress a chage record state via a gliderecord update, this setWorkflow false, and see if the custom field value changes:
gr.setWorkflow(false);
That may also help point to where the change is being made?
The only other thing I can think, given you didn't mention it, is that the field definition, in sys_dictionary, may have a caluclated value on it - you could check that (Record View Advanced).
hth,matt
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
05-13-2022 02:32 AM
Hi Matt,
I tried marking that field on watch, but it didnt opened the field watcher for me.
I tried clicking on spider icon too, but no window open up.
Can you please suggest what could be the reason.
Thanks and Regards,
Rahul
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
05-13-2022 06:38 AM
Hi, since the checkbox is getting updated based on the state/stage change, i think there could be a business rule or on change client script running on the change request table that is setting the value.
You can disable all the client scripts, business rule on change request table and on task table (these might be running on task table with when to run as task type is change request) in NON PRODUCTION instance. Please check if this helps.
If this information has helped you, please mark answer as helpful/correct.
