Skip to main content
Question

Error when scheduling Application Server Task for quick report


Hi, 

I scheduled a Application Server Task for weekly sending quick report. For some reason, I got it worked just one time (I received the email) and all failed after. The error stated that I have no privilege to export reports, however, I’m using IFSAPP account and managed to get it worked once. Does anyone have the same situation and had the solution? I read many related topics but haven't found any suitable answer for my case.

Thanks in advance!

 

 

 

This topic has been closed for comments

11 replies

Forum|alt.badge.img+5
  • Do Gooder
  • 17 replies
  • February 15, 2021

Hey,

Perhaps this quick report is brand new without permissions assigned to any proper perm group?


  • Author
  • 9 replies
  • February 15, 2021

@zapior That, unfortunately, is not the case. I have granted this to many permission sets. And the only one time I got the email sent was also for the same report. 

 


Forum|alt.badge.img+21
  • Superhero (Employee)
  • 427 replies
  • February 15, 2021

Hi @hien.nguyen,

It does look like the permission issue but given that you have already checked the permissions, you would probably need to go through a process of elimination to figure out what the actual issue is. 


Have you tried scheduling a task to run other quick reports as well or is this only for this specific report? it would probably be useful to create a very simple report with no parameters etc to start with. (i.e. select part_no,contract from &AO.inventory_part where rownum < 10)

 

Once you have this report, publish the report and then try to schedule this to see whether it works.

Cheers.


  • Author
  • 9 replies
  • February 17, 2021

Thanks @Sajith D! I have tried to make a new one as you recommended. And now the status is Waiting, Back ground job is Ready, but email never arrive to my inbox :(

 

 


NickPorter
Superhero (Customer)
Forum|alt.badge.img+18
  • Superhero (Customer)
  • 324 replies
  • February 17, 2021

You may find that the cause is a lack of permissions on the ability to export to Excel in general, and not an issue of permissions on the report itself.  For example, check the Activities for something like ExcelQuickReport or ExcelQuickReportActivity.

Can the report be run and exported to Excel manually as the user?

Nick

 


  • Author
  • 9 replies
  • February 18, 2021

Thanks @NickPorter I have checked the two activities and they are checked. Also, tried to export Excel and it works as well. really have no idea what is the cause.

/Hien


NickPorter
Superhero (Customer)
Forum|alt.badge.img+18
  • Superhero (Customer)
  • 324 replies
  • February 18, 2021

Using the permission set details screen I would search for other Database Objects with “Excel” in the name, e.g. ExcelReportArchive.  Still feels like it may be in that area based on your information provided.


Forum|alt.badge.img+5
  • Do Gooder (Customer)
  • 13 replies
  • February 18, 2021

Have you tried to change  to Intiator on the execute as: And also use a reoccurring schedule on the database schedule task. It is normal that it goes back to waiting as it is triggered by the bakground job. The e-mail will get a new message in out1 queue when the job has executed
 

 


  • Author
  • 9 replies
  • February 19, 2021

@kjrono yes, I have done as in your screenshot and also scheduled database tasks. However, it just does not work.

 


  • Author
  • 9 replies
  • February 19, 2021

@NickPorter I’m using IFSAPP so it should not be missing any privilege I suppose.


  • Author
  • 9 replies
  • February 23, 2021

I managed to make it work, although the reason sounds really stupid. :sweat_smile:

So I made another Application Server Task, used exactly the same report in our TEST environment. This time I was really too lazy to change the name of database task schedule, so by default, its name is ‘Run Application Server Task’. Guess what, this works like clock :joy: . I then compared with the failed one I had in the PROD environment. The only different thing I could find is the Schedule Name. And that’s how I fixed the one in PROD environment and everything works fine now. 

 

 


Cookie policy

We use cookies to enhance and personalize your experience. If you accept you agree to our full cookie policy. Learn more about our cookies.

 
Cookie settings