Request form details should be populated in custom table

Haresh Haru
Tera Expert

Hello All,

Like I have created one catalogue item and if the user submitted that form those details in the form should be automatically populated as a record in custom table not in RITM table.

Could please help me on this As of now I have not created a workflow for this request item..

Regards,

Haresh 

 

1 REPLY 1

Deepak Shaerma
Kilo Sage

Hi @Haresh Haru 

Can you explain more about the issue you are facing.  I also provide you the workflow script for your help. this will help you in more understanding.

var gr = new GlideRecord('your_custom_table'); //provide your table name   
        gr.initialize();
        gr.your_field = current.variables.your_catalog_variable + ''; // provide your field name from custom table and variable backend name in place of "your_catalog_variable"Cast to string if necessary
        // Repeat for other fields
        gr.insert();

Note: Please Mark this Helpful and Accepted Solution. If this Helps you to understand. This will help us a lot.
Thanks & Regards 
Deepak Sharma