GlideappRequestNew
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎06-05-2018 03:37 AM
Hi,
What does GlideappRequestNew do? I have a function which has the following code:
var req = new GlideappRequestNew();
var rc = req.copyCart(this.cartName, this.userID);
this.clearCart();
return rc;
As of what I understood, it creates an REQ. Please correct me if I am wrong. If it creates an REQ, it should map the requested for field to the cart's requested for field.
But for some reason the requested for in the REQ created does not show the correct value.
Can someone help me out in this?
Thanks,
Sruthi
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎11-17-2021 09:17 PM
Thanks Tim for the clarifications.
the requirement is if a record is created, a catalog item's order now will be done and with the attached workflow with the catalog item will trigger and based on that RITM and sctasks will be created. With your code that's happening.

- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎11-18-2021 11:00 AM
Great! You know, it's entirely possible to do this in Flow Designer as well. There is a "Submit Catalog Item Request" action that you could use.