- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎08-30-2022 01:41 AM
Hi all,
I propably have an unsusual problem..
For a Process, it is neccessary that a Record is created based on a Record Producer.
The Script that is executed to create the Record will run within a Flow.
This works great so far.. All Variables are displayed on the Variable Editor Formatter.
But unforunately, the UI Policies, that should apply on the target record, are not loaded on to the form.
If I create the record via Try it -> Submit on the Record Producer, the UI Policies are loaded and working as intended.
I have a feeling that I'm missing something, but I cannot figure out what it is.
For additional info: The target record is created via the flow and the script creates a question_answer record, for each variable that is part of the record producer and all included variable sets.
Thank you in advance
Cheers Bernd
Solved! Go to Solution.
- Labels:
-
flow designer
-
Service Catalog
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎09-02-2022 03:21 AM
The solution was: a additional record on the sc_item_produced table has to be created to enable catalog ui policies on the target table.
See this Post: https://community.servicenow.com/community?id=community_question&sys_id=c5440f29dbd8dbc01dcaf3231f961942
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎08-30-2022 02:05 AM
Hi,
if record is not generated via the record producer I believe the UI Policies which Applies on Target table won't work.
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
‎08-30-2022 02:07 AM
Hi Ankur,
but, can you make it work?
Do you know if I have to create an additional record somewere else to make the connection between the target record and the record producer?
Thanks
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎08-30-2022 02:14 AM
Hi,
nope that's not how the UI policies etc work on the target record generated from record producer.
That's the OOB way how ServiceNow platform works.
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
‎09-02-2022 03:17 AM
I've found a solution to the Question.
This Post gave me the hint that I need to add a record to a mapping Table
https://community.servicenow.com/community?id=community_question&sys_id=c5440f29dbd8dbc01dcaf3231f961942
You need to create (in addition to the question_answer table) another record on the "sc_item_produced' table to enable catalog ui policies on the target record