Need to get Target Record's sys_id while submitting a record producer

Subhadip Bagchi
Tera Contributor

Hi team,

 

We have a record producer named as Global Support, on submission which will create a HR Case. We have a requirement over there is to restrict the users to attach attachments more than 10 MB using the attachment clip icon while submitting the request. Now, when a user is attaching any attachment over there, we can see in the target record's sys_id is getting populated in table_sys_id field in sys_attachment table. Any idea how to get this target record's sys_id  before submission in the catalog client script over service portal so that we can achieve this requirement.

 

Thanks in advance.

 

Thanks

Subhadip

 

 

0 REPLIES 0