Updating variables on RITM should update the respective mapped fields on RITM and respective generated task's related fields.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎04-16-2019 11:37 PM
Hi Developers,
Requirement:
Note: I have bought variables in the task table as well by setting the globe field (of variables) to true.
When I update the variables present on the RITM / task , the respective fields on the Request, RITM, and task should be updated. Visa versa should happen. If form fields are updated, same should reflect on respective variables in variables section.
Eg: When I update the requested for or CI or product in the variables section, the updation should happen on Request, RITM, and task as well.
Can any one suggest me how to achieve this.
Regards,
Snehal Madakatti
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎04-17-2019 02:54 AM
Hi Snehal,
I would not recommend implementing this functionality because of the following reasons:
- Variables to Request / RITM / Catalog Task:
You have to use a glideajax call to the server and update the corresponding RITM and then the request and catalog task, this will be implemented in an onChange client script(which will be applicable on both RITM and Catalog task) for each and every catalog item. This involves very rigorous effort. - Request / RITM / Catalog task to Variables:
Here you will be writing an on Change client script or a BR on all the three request tables. Still you may not get a uniform behavior as, not all the catalog items will be using the same variables or else any development of a new catalog item may result in creation of new variables(with different variable name) and your Client Script / BR will fail. Also you will be losing the track of variable values which were used to create the request.
Apart from these I cant think of any other solution. If you get to know one, kindly update this thread it would be of interest for me to have a feasible solution for this.
Regards
Air
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎04-17-2019 02:56 AM
Hi Snehal,
Is it not happening now when you update variable on task form are they not getting updated on RITM as well.
The variables you see on task are of RITM only and hence when they get updated it should get reflected on RITM as well.
Regards
Ankur
Ankur
✨ Certified Technical Architect || ✨ 9x ServiceNow MVP || ✨ ServiceNow Community Leader
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎11-17-2024 03:54 PM
Hi @Ankur Bawiskar ,
can we avoid this, if value of variable is updated on particular task it should not be update on RITM record. Can we achieve this?