Request form details should be populated in custom table
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎03-20-2024 04:43 AM
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
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎03-20-2024 04:53 AM
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