UI policy not working
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
07-09-2025 09:36 AM
i am facing one issue. if i am submitting a request from service portal, a particular catalog ui policy is running. But if i am inserting a record in that table by importing xml, then that ui policy is not working.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
07-09-2025 09:42 AM
That's expected. See the documentation on 'Import XML'
while that only mentions business rules don't run and the instance cache is not updated. Other features don't run.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
07-09-2025 09:43 AM
Hi @manirathore ,
Ui policy will always work at form level .
Create Data policy to work at server side while importing xml.
If my response helped, please mark it as the accepted solution ✅ and give a thumbs up👍.
Thanks,
Anand
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
07-09-2025 10:02 AM
but i cannot run any script in data policy
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
07-09-2025 10:36 AM
What is usecase and with admin profile are you importing xml?
XML import Ignores any business rules that normally apply to the table.