Skip to main content
Solved

The method... is not registered Task and can't be started

  • September 19, 2023
  • 3 replies
  • 207 views

Forum|alt.badge.img+13
  • Hero (Partner)
  • 161 replies

Hello everyone,

When I try to run the "Calculate Resource Capacity" processing from the "Resource management > Analysis > Resource Analysis" screen, I get this error message:

However, the task does exist as a bd task... it's even scheduled.
However, when I connect with IFSAPP, no problem.

The user does have rights to the task, could you give me an idea?
Thanks a lot! 

Best answer by TheoB

We found... what was missing was this presentation item: 

 

3 replies

Forum|alt.badge.img+15
  • Superhero (Employee)
  • 180 replies
  • September 21, 2023

@TheoB 

Hi TheoB,

I think when you run this there will be a background job gets created(not sure 100%). My suspicion is this user may not have enough privilege to run this background job. 

IFSAPP is a super user that’s why you are not getting any errors. 

 If possible please attach a screen print of the error/call stack extracted from the debug console. We might get a clue from that.

for ex:

Regards,

Sahan


Forum|alt.badge.img+13
  • Author
  • Hero (Partner)
  • 161 replies
  • October 3, 2023

Hi @Sahan Udana,

The debug console doesn't show much... :

The task to be executed is correctly tuned in terms of set permissions (RESOURCE_CAPACITY_API.GENERATE_CAPACITY).
This task is executed directly using the procedure: Batch_Schedule_Method_API.Execute_Online__.
This is also authorized.

Any other ideas?
Thanks a lot!


Forum|alt.badge.img+13
  • Author
  • Hero (Partner)
  • 161 replies
  • Answer
  • October 4, 2023

We found... what was missing was this presentation item: