We have a custom assets/Change Management setup that allows for users to be able to select Change, gives them a dropdown to select the Space where the policy lives, then select the policy in the following dropdown based on the selected Space. The link between those fields has broken and now a general list of policies shows up no matter what Space is selected? How do we restore this link?
Hello @Admin Omar Olmos
When you have a set of dependent Asset Object fields like this, each one generally is configured with an AQL that references the "parent" field to help filter what should be shown. To fix this you may need to address the configuration of each field.
Looking at your screen images the second one showing the list of Policies also shows that the Space field has been left blank, which could account for seeing an unexpected list in the Policies field.
Can you show us the configuration details for your Policies asset object field? The filtering of the Policies field based on the Space field would show up in the Filter work item scope (AQL) field as shown in this example. Notice that the AQL has a variable to reference a custom field.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Thank you for that additional information @Admin Omar Olmos
Is "Page Include" the object type that is used for Policies? I am assuming that it is.
Then the problem is that your Filter work item scope (AQL) setting is wrong.
The Filter scope (AQL) setting tells the field the base list of items to show in the field.
The Filter work item scope (AQL) setting is used to apply another filter to the base to get a subset of data based on the value in another field. Your actual setting contains the same filter as the base, so it is not reducing the list to a subset.
Do your Page Include objects include an Object type attribute that gets set to one or more objects used in the Space field? That will be necessary for changing your filter to show a subset based on the Space field value.
You will need to know the custom field ID for the Space field on your Request screen. You will also need to know the name of the attribute in your Page Include object that contains the value of the associated Space.
Then you would change the Filter work item scope (AQL) setting to something like this:
objectType="Page Include" and "Spaces"=${customfield_11366.label}
...where "Spaces" is the name of the attribute in your Page Include objects that contains the value of the associated Space, and
customfield_11366 is the custom field ID for the Asset Object field for Space in your Request screen.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.