Posted: 12 Jun 2017 14:05 EDT Last activity: 13 Jun 2017 10:45 EDT
Question about Agents - "Trying to calculate the handle of a class whose instances may not be written to the database"
Quick question about agents, I'm getting this error (the attachment screenshot) whenever I'm trying to call do a Queue-For-Agent that does an obj-open-by-handle. My Queue-For-Agent has as a step page one I created with Page-New that has some properties in it that I'm using. The thing is, I'm not really sure what the approach to this error is because I'm doing a save and commit BEFORE doing the queue for agent, so in theory my instance should already exist before the queue.
Any help is appreciated :)
***Updated by Moderator: Marissa to update categories***
Answering to myself, found out that my problem was related to the class.
Since my agent needs a Primary page, I was creating one to give it context but I needed to instantiate and save that page (Also generate an ID) before calling the Queue-For-Agent step in order for it to work, also, the original class was abstract so I had to change that too.