- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎08-15-2019 01:58 AM
Is there a way to set the due date to blank when specific Catalog Items a requested? I have a Catalog Item that's for internal IT use and doesn't have any workflow associated with it, however when this Catalog Item is raised it's defaulting the Due Date to the date and time the request was raised.
Solved! Go to Solution.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎08-20-2019 06:49 AM
Hi,
Did you try by making below changes?
1.In when to run set insert and update check box to true
change order to 12000
2. In advanced section you are using g_form which is a client side API method wich will not work in server side. Try with below as already mentioned by Jaspal
(function executeRule(current, previous /*null when async*/) {
// Add your code here
current.due_date='';
current.update();
})(current, previous);

- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎08-15-2019 03:58 AM
Can you post the script being used in Advance section. Also, try changing the Business rule to Run After rather than Before.
Thanks,
Jaspal Singh
Hit Helpful or Correct on the impact of response.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎08-15-2019 07:24 AM
Hi,
Make below two changes
1.In when to run set insert and update check box to true
change order to 12000
2. In advanced section you are using g_form which is a client side API method wich will not work in server side. Try with below as already mentioned by Jaspal
(function executeRule(current, previous /*null when async*/) {
// Add your code here
current.due_date='';
current.update();
})(current, previous);
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎08-16-2019 04:12 AM
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎08-16-2019 04:13 AM
Can anyone help?
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎08-16-2019 04:19 AM
Hi,
Make below two changes
1.In when to run set insert and update check box to true
change order to 12000
2. In advanced section you are using g_form which is a client side API method wich will not work in server side. Try with below as already mentioned by Jaspal
(function executeRule(current, previous /*null when async*/) {
// Add your code here
current.due_date='';
current.update();
})(current, previous);