UI Policies not loaded if a record producer target record is created via script

Bernd Klus1
Tera Expert

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

1 ACCEPTED SOLUTION

Bernd Klus1
Tera Expert

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

View solution in original post

6 REPLIES 6

Community Alums
Not applicable

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

Bernd Klus1
Tera Expert

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