Set catalog task due date to empty from workflow
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
10-19-2023 09:41 AM
I have a catalog item on the sc_req_item table that only has a catalog task workflow activity. I want to generate the task with an empty due date. No matter what I try, it is currently setting the due date to the current time.
Here's what I've tried so far:
1. Setting the schedule on the catalog task activity to 0 days 0 hours 0 minutes 0 seconds
2. Setting the schedule via script where answer = null;
3. Setting the task.due_date = ''; in the advanced script on the catalog task activity
4. Setting the task.due_date = null; in the advanced script on the catalog task activity
5. Changing the CatalogTaskGeneration script includes to not set the due date from the parent RITM
6. Creating a before/insert business rule on sc_task with the following line: current.due_date = null;
7. Creating an after/insert business rule on sc_task with the following line: current.due_date = null;
Any ideas? I am able to successfully set the due date to a future date using these methods, but no matter what I try to get the field to be empty, something is populating the current date/time.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
10-19-2023 09:48 AM
Hello @Oliver Anderson
Please check BR on the sc_task table and check for the due_date.
It will resolve your query.
Mark ✅ Correct if this solves your issue and also mark 👍 Helpful if you find my response worthy based on the impact.
Thanks
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
10-19-2023 10:00 AM
Cannot find any BR on the sc_task that uses the due_date