- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎07-08-2022 01:24 AM
Hi All,
I hope everyone is ok.
Situation
i have a catalogue item with a variable set. This variable set has a variable called "business unit" and identifies in which business unit the employee works. It is defined as a select box and values are defined.
When the catalogue items is open the requested for is auto-populated with the userid of the logged in person and the business unit value also is auto-populated by looking at the user profile. if the requested for is changed, all fields in the variable set are repopulated from the user profile (including business unit). However, if the profile of the requested for does not have the "business unit" field populated, then the request will have the business unit variable with no value. In this case, it could be manually populated by using the drop-down list. This works fine.
after submitting the request, a catalogue task is created and assigned based on the value from the "business unit". This works fine too. When opening the RITM and SCTask, i can see the value of the business unit variable in both forms.
Problem
When the request has the business unit variable manually changed to something different to the one auto-populated, i can submit the request and the SCTask is created and assigned properly, but when inspecting the variable section in the RITM and the SCTAsk forms the business unit variable has the original value and not the new one.
would you know why?
regards,
Max
Solved! Go to Solution.
- Labels:
-
Request Management
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎07-08-2022 01:49 AM
Hey ,
I suppose you must have used on change client script to achieve this auto population right ?
can you please check if "applies on catalog task" and "applies on Requested item" check boxes are set to true on on change client script and let me know ?
if not please set it to true and try the process again
please accept the solution if you find it helpful
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎07-08-2022 01:49 AM
Hey ,
I suppose you must have used on change client script to achieve this auto population right ?
can you please check if "applies on catalog task" and "applies on Requested item" check boxes are set to true on on change client script and let me know ?
if not please set it to true and try the process again
please accept the solution if you find it helpful