How to push data from one form to another form?
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎07-08-2016 04:05 AM
I am new to service now, creating an application here. I want to Push data from Form A to Form B. I can see only set fields in workflows to set the field in same form. How can I push the same data to another form?
Thanks,
Neha
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎07-08-2016 04:18 AM
Hi Neha
U can push data to another in many ways. for example dot walking, script etc. Pls elaborate ur question.
Thanks
prasiyal
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎07-08-2016 04:20 AM
Hi Neha,
If you could elaborate on what you're trying to do? Is it catalog items, record producers or setting values tableA->tableB?
Cheers
Greg
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎07-08-2016 04:36 AM
Hi,
Me and Neha are trying to work through this
We have 2 simple Custom Tables- Form A and Form B - When a record in Form A is submitted we want to create the same record in Form B - Both tables have same columns
Thanks and Regards
Lakshmi.N

- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎07-08-2016 05:16 AM
That sounds like a pretty straight forward AFTER/INSERT business rule. Try this (untested);
Create a new business rule on table A.
Name: Create Record B
Active: true
Advanced: true
Insert: true
Update: false
Table: Table A (use your real table a where the first record is getting created)
Condition: (none)
Script: (replace // add your code here with the following lines)
var b = new GlideRecord('u_table_b'); // replace u_table_b with your table name
b.newRecord();
b.u_field1 = current.getValue('u_field_1'); // replace with your field name to copy from A to B
// Repeat previous line for all other fields in table A to copy to table B
b.insert();