Create another record on submit of record producer.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
01-05-2023 07:58 PM
Hi all can anyone help to achieve this.
so I have created two tables 1. u_schedule maintenance
2.u_maintenance task.(This table extends task table).
The u_schedule maintenance tables record is created by using record producer, which was also created.
Next is when i click submit on record producer the (u_schedule maintenance) record should be created as well as the (u_maintenance task) record also should be created simultaneously.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
01-07-2023 10:12 PM
@Sonu Parab how to call Auto number field from Table A to Table B.
gr.u_associated_scheduled_maintenance = current.number;
its not working
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
01-05-2023 10:39 PM
@Sharath807 You can write server script in the record producer script field where you can create record in u_maintenance table
Please mark as correct answer if this solves your issue.
ServiceNow Community Rising Star, Class of 2023
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
01-05-2023 10:47 PM
@jaheerhattiwale if u have similar scripts.can u send