Draft feature for Record Producer
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎03-02-2020 10:56 PM
Hi Developers,
Has anyone implemented a draft state feature for Record Producer,if yes then please share the way or is it possible to have this for record producer or not.
Regards,
Abhishek
- Labels:
-
Service Catalog
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎11-29-2021 07:53 PM
Hey,
can you please share your solution
Thanks,
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎12-02-2021 02:08 PM
Any ideas on how you fixed the values issue?
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎01-17-2022 09:56 PM
Hi Utpal Dutta,
I have created the buttons and it's working perfectly. But I also want to set state as Draft on clicking Save as Draft button. Could you please help in setting the state.
Thanks &Regards,
Sai Sushma
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎01-18-2022 03:56 AM
Hi Utpal,
Hope you are doing good!!. sorry for re-opening this thread. We also had similar requirement for one of the client what you have incorporated. I tried implementing the same code what you have mentioned. The next problem is when we click on save as draft button it should set state in Draft in my custom table and when I click on submit state should set as New. Could you please help on this how to achieve this in same widget.
Thanks In Advance,
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎03-01-2023 01:30 AM - edited ‎03-01-2023 01:31 AM
I honestly don't get why people keep reinventing the wheel.
ServiceNow already has this built-in, only it's called Wishlist.
But it's the exact same thing.
All you need to do is duplicate the functionality of wishlist but store it in a new cart type in the sc_cart table.
Example saved_draft_items instead of saved_items cart that wishlist uses.
The target record is never generated until the Submit button is clicked so all of the validation logic remains on the Record Producer end.