Dot walking not works for dependant fields ?
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎04-27-2017 06:39 AM
Hi all,
Working on a Helsinki instance.
I have an issue on dependant field, set on a choice list :
My choice list is a custom field on alm_hardware, which contains status. These status depends on the type of another OOB reference field, stockroom.
Let's be more concrete :
If I select a stockroom which has type "Central Warehouse", my list of values contains several status.
If I select another stockroom, with another type, my list of values changes for anothers status, specific for this type of stockroom.
To do this, I set the following :
- Check dependent field to be true
- dependent on field : stockroom type
- specifies a dependant value for one of my choices, with the sys_id of central warehouse type
My tests go wrong, my choice never appears, even if I select a central warehouse stock room.
If I do the same, by specifying my choice list directly dependant on a stockroom (without dot walking), it works...
Does anyone know where I'm wrong ? Is it a known issue in Service Now ?
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎04-28-2017 02:55 AM
Yes, that's how I do things when needed.
Scripting can be avoided in many cases in SNOW, but sometimes it cannot be avoided, and I think this is one of those cases.
harel
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎04-28-2017 03:01 AM
Ok, I take in account your point of view, that I share...
I'm just disappointed that using dot walking for dependant values doesn't work
Thanks harel.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎05-03-2017 06:46 AM
harel,
Please note that I've managed to make it work, but... it needs the Asset form to be reloaded, to reload choice values list with the one I want...
I really don't understand why it works on change, in real time, when it depends on stockrooms id, but it doesn't when using dot walking...
So, I don't have other choice to implement your solution.
Thanks you again.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎05-03-2017 07:14 AM
Can you explain what you mean by " it needs the Asset form to be reloaded, to reload choice values list with the one I want."
harel
Please mark as correct or helpful based on impact
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎05-03-2017 07:25 AM
When I just change my stock room, as explained in this topic, nothing happens, my stock status list doesn't change.
But I noticed that if I reload my form, my stock status contains values I want, for the type of the stockroom I selected =/
If I resume the issue :
stock status dependent on stock room : it works, I change my stock room and my stock status list changes in the same time.
stock status dependent on stock room type (so with dot walking) : doesn't work except if I reload the form....
Strange, isn't it ?