Scheduled Script

I am working on a script that runs when someone clicks a button and populates a sublist based on a custom record. I need to automate that to run early morning at a given time and run that script for all new item fulfillments for a specific customer. The current script is based on the opened item fulfillment. How can I create a scheduled script to run for criteria? Any help or suggestions would be greatly appreciated.

Add Comment
1 Answer(s)

When you say “populate a sublist based on a custom record”, I assume you mean to just create custom records.  Sublists are generally just searches on records.  Assuming that is the case, if you need the custom record to be created live whenever new fulfillments are made, you can trigger the scheduled script with N/task from a userEvent script on item fulfillments.  I don’t understand why you would need it to run on a schedule if you need the sublist/custom records to be created immediately, though.

Intermediate Answered on June 3, 2021.

Yeah the more research I have done, I feel that the way this is currently set up just needs to be done differently. Its all related to generating the ASN. I feel like our EDI partner can do all the heavy lifting in auto packing and then we dont have to bog down the system running the current script


on June 3, 2021.
Add Comment

Your Answer

By posting your answer, you agree to the privacy policy and terms of service.
  • This site made possible by our sponsors:   Tipalti   Celigo   Become a Sponsor   Become a Sponsor