Any change event for Order.RequestedTask.Status?

Discussions related to SoftPro Select user interface development.

Moderator: Phil Barton

Post Reply
kqian
Posts: 68
Joined: Wed Feb 23, 2011 4:01 pm

Any change event for Order.RequestedTask.Status?

Post by kqian »

Hi,

In "Requtested Tasks" tab for an order, when user changes the value in the "Status" dropdown box, is there a way that we can catch any event to do some extra handling?

Thanks.

Kevin
Melissa McBerkowitz
Posts: 91
Joined: Wed Sep 10, 2008 3:33 pm
Location: Raleigh, NC
Contact:

Re: Any change event for Order.RequestedTask.Status?

Post by Melissa McBerkowitz »

Yes! The TasksChanged event fires when tasks are added, edited, or deleted, and can be filtered to look specifically for changes to the status. You'd register for that event just like you would for the OrderChanged event.
Melissa McBerkowitz
VP of Product Strategy, SoftPro
kqian
Posts: 68
Joined: Wed Feb 23, 2011 4:01 pm

Re: Any change event for Order.RequestedTask.Status?

Post by kqian »

Thanks Melisa for answering the question.
So it will be server-level notification through the Event Notification service, right?

Is there client-side event on this that I can catch right inside the client window and do some work before user saves the changes.
Melissa McBerkowitz
Posts: 91
Joined: Wed Sep 10, 2008 3:33 pm
Location: Raleigh, NC
Contact:

Re: Any change event for Order.RequestedTask.Status?

Post by Melissa McBerkowitz »

Yes, it's a server-side event notification.

No on the client-side event, sorry.
Melissa McBerkowitz
VP of Product Strategy, SoftPro
sallada
Posts: 5
Joined: Wed Feb 23, 2011 3:55 pm

Re: Any change event for Order.RequestedTask.Status?

Post by sallada »

Hey Melissa,

Is this available in 3.0? I am not familiar with the workflows in SoftPro but NexTitle has been using what is "Checklist tasks" and "Requested tasks" to manage their tasks. Are there any client-side events available in 3.0 in either of the workflows or task lists?

Thanks,
Swathi
Melissa McBerkowitz
Posts: 91
Joined: Wed Sep 10, 2008 3:33 pm
Location: Raleigh, NC
Contact:

Re: Any change event for Order.RequestedTask.Status?

Post by Melissa McBerkowitz »

3.0 gives you a new option to hook into an OrderSaving event. Like it sounds, this gives you the option to take action during the order save process, including running custom save validations and cancelling the save if the order doesn't meet your criteria. You have access to the full order, including the Checklist Tasks and Requested Tasks, so you could take special action if a specific task's status changed. You would hook into this event via a server-side package. The 3.0 SDK contains a sample project illustrating these concepts.

This is separate from the Event Notifications. The TasksChanged event in 2.6 and 3.0 gives you access to both Checklist Task and Requested Task data, but that event notifies you after the data has already been saved, not while it's being saved.

If you need more info or want to talk through the details of what you're trying to do, a conference call might be easiest - email me if you'd like to do that!

Thanks,
Melissa
Melissa McBerkowitz
VP of Product Strategy, SoftPro
Post Reply