Query field for Servcie Request like "Create request on behalf of"
i would like to create a Service Request to rename User in AD. Therefore i had created a query field in SCSM.
Is it possible to change this field in the portal to behafe like "Create request on behalf of".
As there are a lot of users, i don´t want to change the maximum limit for enum field.
Thanks,
Dominik
Answers
This is not currently possibly on the Request Offering Form, however we have had some clients implement an additional text input on the request offering form that can be used as a token to pre-filter the User Query input.
Let me know if have any questions.
Thanks,
Carrie
Then within the Criteria Configuration of your Query input use the text input as a filter :
Once saved and sync'd by the cachebuilder the request offering would load like this - where the query input is not populated until the User enters something into the first text field:
I thought it was something specific for the protal!
Thank´s for your support!
This one is also open on the below feature request if you want to give it an upvote:
https://community.cireson.com/discussion/238/
Cheers
Joe
I only wanted to grab the Display name from the Query results so I could use it to update users pictures in Exchange.
The user input looks like this when the Get Object activity grabs it from the SR.
<UserInputs><UserInput Question="Select User - use list below" Answer="<Values Count="1"><Value DisplayName="Last, First" Id="055826b0-e12f-4cfa-c37f-3f29f862ee4a"/></Values>" Type="System.SupportingItem.PortalControl.InstancePicker" /><UserInput Question="Domain" Answer="Domain" Type="string" /><UserInput Question="Picture File" Answer="16084.jpeg" Type="" /></UserInputs>
1st XML Query:
XML Text = User input from Get Object activity that gets the Service request
XPath Query = /UserInputs/UserInput[@Question='Select User - use list below']/@Answer
2nd XML Query:
XML Text: Query results from 1st XML Query
XPath Query: /Values/Value/@DisplayName
This should give you the users display name as Escaped Query result.
This example is for a value that is manually inputted.