Showing results for 
Search instead for 
Do you mean 
Community Home Request Access Read Blogs Share Your Ideas Search Community View My Settings
Reply
Highlighted
Astute Commentator
Posts: 9
Registered: ‎08-18-2009

How do I refresh Ticket Mainview from code in Ticket.OnAfterUpdate event?

Workflow requirements:

After a ticket is saved I need to review the NeededByDate and update it if certain criteria are met.

 

Accomplished so far:

I have attached code in an external assembly to the Ticket.OnAfterUpdate event.  When the ticket is saved this code runs and updates the NeededByDate via sql update statement.

 

Need help on:

The update statement in the external assembly code changes the value in the database and the old value still shows up on the Ticket mainview.  How do I refresh the Ticket mainview from the external assembly code?

Bronze Super Contributor
Posts: 129
Registered: ‎06-09-2009

Re: How do I refresh Ticket Mainview from code in Ticket.OnAfterUpdate event?

How about not using an SQL Statement, but rather just upading the Instance value directly?

Raul A. Chavez
http://raul.chavez.com
http://www.crmbi.com