Can't edit query results in ARO
Hi
I'm trying to edit a query in a user creation/user re-activation ARO to add in a new group that we can select to re-activate accounts from. However, whenever I try to edit the query all the options are greyed out. I also tried selecting Active Directory User and re-creating the query from scratch in the prompt but then when I try to save the ARO it tells me the query needs to be mapped. However, checking the same ARO in a different environment, that query is not mapped to anything.
Screen shot below of greyed out configure query screen.
Answers
When you recreate the query from scratch, don't forget to select, under which relationship these items shall be added to your work item. You find it in the last section "Options". If you don't select neither "Related Items" nor "Affected Items", an error occurs when you try to save the ARO.
Hi
I double checked that the related items option was ticked and it looks like screenshot below
However, I still get this error message
@Dean_Mrazek This means that the prompt "Begin typing to search for a deactivated User" is not mapped to anything. I guess this is a string field? So you have to map it to the Work Item that lies below this RO.
The "Query Results prompts for which a relationship was not configured" is always present, but in your case no query Results are stated below that, so you can ignore that. If a relationship is not configured for one or more query result prompts, it would be stated below.
Hi @Simon_Zeinhofer
While looking at the ARO prompts I found this
And checking the xml for the management pack for this ARO I found this:
<Source Id="eb8ab2a5-da7d-40b6-bfff-19d9ebfcd337" Ordinal="4" Prompt="User to reactivate"
It looks to me I need to replace the second Prompt in that ([Prompt_eb8ab2a5-da7d-40b6-bfff-19d9ebfcd337_Default]) with adding in the prompt that keeps returning the message in the previous post so it looks like this?
We see this behavior, when more than one prompt is mapped to the same property in the Work Item too. Normally it doesn't matter and the mapping still works.
@Geoff_Ross : Is this an issue with the ARO Builder? I mean that these prompts are shown with their guid and not the name when placed directly near each other?