We are trying to automate the assignment of user/agent(Operator) in Queue when a queue item is inserted from a object using C#. When we are trying to debug the code on object onInserted mode it is not hitting the breakpoint.
Can any one help on this?
Quick Workarounds are appreciated.
Thanks!
Like
Hi Nageswara,
Firstly please check the "QueueItem" object and set up checkboxes according to your further events
If you activate this checkbox (on Updating as you need) you will see new field below which was generated automatically. The value of that generated field will be used as trigger for the object process. In your case the override method will be "IsInserted" , where your logic is implemented.
Here is more information :
https://academy.creatio.com/docs/developer/back-end_development/entity_…
Best Regards,
Bogdan L
Bogdan Lesyk,
Thanks for the reply Bogdan,
We did the same thing here, but we are unable to debug the code in VS, We put a break point on method OnInserted() mode but it is not hitting the break point when a QueueItem record is inserting, but somehow it is inserting in DB.
Can you pls help on this?
Best Regards,
Nageswar