This discussion has been locked.
You can no longer post new replies to this discussion. If you have a question you can start a new discussion

Error: You are not allowed to generate events for table AttestationCase

Hi all,

 

Anyone know why I can't generate events on this table? I'm running it from object browser as admin user.

 

Im on 7.1

 

Thanks

Mik

  • Hi Mik,

    Can you elaborate on what you're trying to accomplish?

    Event generation requires edit permissions on a table, and there are no edit permissions on AttestationCase, by default.

    However, I am not suggesting that you add permissions here. The events are triggered as part of the approval process and that should not change. So I suggest simply to use the designated approval process, if possible.

    Trevor
  • I need to manually escalate an attestation in case of a particular event.
    I solved creating a process chain on Attestation case that launch "escalate" method in a process step. I have to trigger the event from job server otherwise it doesn't work
  • I have the same problem but for a different use case. I attempt to manually trigger the event of 'DECISIONCOLLECTION' for AttestationHelper process whether through OB or executing an actual process in Designer for 'Inform approver about pending attestations' in order to speed up, for testing purposes, reminder email notifications. Is there a way of doing so without modifying edit permissions on Attestation tables?
  • I think there are 2 ways:
    1) start the scheduler "Inform approver about pending attestations" from Designer.
    2) create a job chain from dialogDatabase that trigger the event DECISIONCOLLECTION

  • The easiest way to trigger the event is to start the schedule as Michele pointed out.

    Another option is to fire the event in ObjectBrowser on a loaded AttestationHelper object.

  • Michele/Markus,

    As I have mentioned, I have attempted both ways, but for both ways I receive a permissions error: "[810315] You are not allowed to generate events for table AttestationHelper.
    at VI.DB.Entities.PermissionsUnitOfWork.<GenerateAsync>d__13.MoveNext()"

    So my question is, in order to actually be able to trigger the event either using option 1 or 2, do I need to change OOTB permissions for system user on AttestationHelper?

    Thanks,
    Sergei
  • What version are you using exactly?
    What authentication module are you using and which user are you using?
    And, Michele suggests to start the schedule and not to start a process. This would be a different thing.
  • Markus,

    I am using 7.1.2. That also makes sense, I was executing a process plan, I was able to execute a schedule which generated the event. I did however get some errors after the event got triggered, let me troubleshoot the issue before I ask more questions.
    Thank you for your help! Executing the schedule worked.

    -Sergei