- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
03-29-2017 04:17 PM
I would like to create a scheduled job to run weekly, however when I go to System Definition>Scheduled Jobs, I don't see a New button at the top. I tried looking for a "New" UI Action on the list, but I can't find anything there.
I am the administrator of the system, and I have tried Elevating Privileges, but that doesn't help either. Does anyone have any idea why I can't see it or even find the UI Action for New in this list?
Thanks,
Eric
Solved! Go to Solution.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
04-03-2017 07:11 AM
There is change in Istanbul version. Don't change any ACLs or make any system changes.
I believe there is a new Job Type "API Stats Scheduled Script Execution". From my understanding - it is designed such that admins cannot create a new "API Stats Scheduled Script Execution" - job type.
Solution: Filter out "API Stats Scheduled Script Execution" from the list and the New button magically appears.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
03-29-2017 04:31 PM
It sounds like an ACL is preventing you from creating a scheduled job.
Thanks,
Berny
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
03-29-2017 04:35 PM
The UI actions to create or save a scheduled job have the condition: current.canCreate() Most probably there's a create ACL on the scheduled job table hierarchy that is not allowing you (perhaps all admins) to create one
You can check the specifics in your instance by checking your ACLs on the Scheduled Job table or within its hierarchy (for instance sys_metadata table)
Thanks,
Berny
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
03-30-2017 09:37 AM
Thanks Berny,
I searched the UI Action on this list particular module and there was no "New" UI.
I then went to the ACL for the sysauto table.
For the create operation, "admin" (a role I have) is listed in the requires role list
For the read operation, "admin" is also listed in the requires role list
For the write operation, "admin" is also listed in the requires role list
Then I went to all of the write and create ACLs on this list and updated them all so that the admin overrides was set to true. Still couldn't see the new button.
So I don't see how ACL could be the problem.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
03-30-2017 05:42 PM
Hi Eric,
It sounds like you only checked for the specific items (UI actions and ACLs) of the Scheduled Job table. You need to look into the entire hierarchy (classes from which the Scheduled Job table extends).
The easiest way to do this is by doing the following:
a) go to the Scheduled Job list view (you can accomplish that by entering sysauto.list in your navigation window and then hitting enter)
b) Right click in the list menu bar (between the columns)
c) Select the Configure >> Security Rules option or the Configure >> UI Actions option.
and that should display all the respective ACLs and UI actions respectively that apply to the Scheduled Job table.
Thanks,
Berny