Levi Pruss
12/22/2025, 4:46 PMCeligo AI
12/22/2025, 4:46 PMAI generated answer (using internal Slack threads):In NetSuite workflows, you can set a condition to compare a date field to today's date. Here's how you can do it: 1. Create a new workflow or edit an existing one. 2. In the workflow states, add a new state or select an existing one. 3. In the state details, add a new action or select an existing one. 4. In the action details, set the trigger type to 'Before Record Submit' or 'After Record Submit' depending on your requirement. 5. In the 'Conditions' section, select 'Formula' from the dropdown. 6. In the formula field, enter
{custom date field} = TODAY where 'custom date field' is the internal id of your custom date field. This formula will return true if the custom date field is equal to today's date.
Please note that the formula is case-sensitive and you need to replace 'custom date field' with the actual internal id of your field.
If you are working with client-side fields, you may need to use JavaScript conditions. For example, you can use nlapiStringToDate(nlapiGetFieldValue('trandate')).getTime() < new Date().getTime() to check if a transaction date is older than today.
If you want to trigger an email when the custom date field is equal to today's date, you can add a 'Send Email' action in the workflow state and set its condition to {custom date field} = TODAY.
Remember, if you want to check this condition on a daily basis, consider running the workflow on a schedule.
******
Disclaimer:
This response was generated by an artificial intelligence assistant based on previous conversations from multiple Slack channels, and may contain inaccuracies or mistakes.
******Celigo AI
12/22/2025, 4:47 PMSlack thread 1: here (available only if the original thread was posted in the last 90 days)
Similarity score: 0.851257443
Slack thread 2: here (available only if the original thread was posted in the last 90 days)
Similarity score: 0.835693419
Slack thread 3: here (available only if the original thread was posted in the last 90 days)
Similarity score: 0.831848145
Celigo AI
12/22/2025, 4:47 PM