Set a Document ID Field in a flow

Daniel Schulz1
Tera Contributor

Hello,

I need to build a flow for a service catalog. Within the flow, I try to create an entity (sn_grc_profile) and fill it with the variables from the requested item record.

Now I cannot figure out how to set the "applies to record" field (type Document ID) via script. As far as I can see, the field type document ID is identified by 2 values (table + ci sys_id) but unfortunately I don't know how to set this via script in the flow. I know the table and i have the sys_id from the ci.

Any ideas?

This is sadly not working.

find_real_file.png

1 ACCEPTED SOLUTION

Hitoshi Ozawa
Giga Sage
Giga Sage

Hi Daniel,

In the sn_grc_profile table, is there a field named "Table". Set this field to the current table name and set field "applies_to" the record's sys_id.

FYR

https://community.servicenow.com/community?id=community_question&sys_id=1f489c48dbb12300afc902d5ca96...

View solution in original post

2 REPLIES 2

Hitoshi Ozawa
Giga Sage
Giga Sage

Hi Daniel,

In the sn_grc_profile table, is there a field named "Table". Set this field to the current table name and set field "applies_to" the record's sys_id.

FYR

https://community.servicenow.com/community?id=community_question&sys_id=1f489c48dbb12300afc902d5ca96...

Daniel Schulz1
Tera Contributor

It works 🙂

 

Thanks,

Daniel