Getting error in ax workflows
Stopped (error): Cannot edit a record in Alerts - Event inbox (EventInbox).
The record has never been selected
we tried to clear tables:-
delete from EVENTCOMPANYRULE
delete from EVENTCUD
delete from EVENTINBOX
delete from EVENTINBOXDATA
delete from EVENTRULE
delete from EVENTRULEDATA
delete from EVENTRULEFIELD
delete from EVENTRULEIGNORE
delete from EVENTRULEIGNOREAGGREGATION
delete from EVENTRULEREL
delete from EVENTRULERELDATA
*This post is locked for comments
Hi Alex,
We have a similar issue for one of the user.He is getting "Cannot select a record from EventInbox" while processing the return registration.
Can you please suggest if the above solution work for this issue? If Yes,can you please let me know how we can add the translation text in English(in Which screen)?
I face this error and fixed in next way.
Seems like the WF Task Subject is mandataory field on EventInbox Table.
English language was added to Subject translations but no text on Trasnlation field.. So when trying to insert into the table the record did not insert but looks like the Sys BL logic thinks it was, so continues, then the WF logic assumes that row was inserted but as it was not, then throws that error.
There was translation in Spanish and French, so when I changed "Responsible" instance of AX to Spanish or French it was able to resume the task.
Solution was just add the translation text in english. That created a new Version of the workflow. Then ask user to recreate the Purchase Request as the stopped one remains assigned to old WF Version. then the EventInbox rows get created and alerts are displayed in "Responsible" notifications pane...
Thanks ,had the same issue on one of the environment and it's resolved after we clear the tables ..
Hi I am opened EVENTINBOX table in table browser from AOT and deleted all the records manually by selecting all. Still its showing the records. I am unable to delete the records
I have customize workflow for Purchase Requisition (PurchReqApproval) and was working fine. As business need, I modified workflow configuration and made new version as default. Modification in workflow includes only some approval condition changes.
Afterwards, for every workflow context, it was throwing above error. To resolve above issue, What I did is change the configuration with nothing but added a note so that new version can be created.
Afterwards, workflow is working fine.
You can also try to change subject/message body for approvals because sometime, notification cannot be created due to language issue or message body.
Hope this works for you.
Check to make sure that for each work item, there is subject text or instruction text defined for all languages on the work item. If both are blank for a language, then the create method of the EventNotification class will return early without inserting an EventInbox record when it tries to create an alert for a user in that language. This skipping of inserting the record then causes the error you are seeing to be thrown from the create method of the EventNotificationWorkflow class because it assumes that the EventInbox record always gets inserted successfully.
Mohamed Amine Mahmoudi
100
Super User 2025 Season 1
Community Member
48
shanawaz davood basha
6