Hi All,
We have created a milestone template listening to 3 milestones.
Within each of the milestones we do a corresponding custom status update on the order release to track the milestones.
We also have an Order Release agent which listens to these status updates and sends notification to relevant parties.
Within the agent, if all the events are received, we are trying to deactivate the milestone monitor using the below DSU. This is to avoid the notification being triggered after all the events are received.
update monitor_profile set is_deactivate_when_complete='Y', is_complete='Y'where object_gid=$gidand monitor_profile_template_gid isnotnull;
Here is the issue. Upon executing the above statement, it updates only the 'IS_COMPLETE' column as 'Y' where as 'IS_DEACTIVATE_WHEN_COMPLETE' column still remains 'N'. The agent doesn't fail as well. We tried to split the update statements, tried to remove this DSU from the agent and added in the last milestone. Still the issue persists.
Any clues to resolve the issue?
Thanks,
Mahesh
We have created a milestone template listening to 3 milestones.
Within each of the milestones we do a corresponding custom status update on the order release to track the milestones.
We also have an Order Release agent which listens to these status updates and sends notification to relevant parties.
Within the agent, if all the events are received, we are trying to deactivate the milestone monitor using the below DSU. This is to avoid the notification being triggered after all the events are received.
update monitor_profile set is_deactivate_when_complete='Y', is_complete='Y'where object_gid=$gidand monitor_profile_template_gid isnotnull;
Here is the issue. Upon executing the above statement, it updates only the 'IS_COMPLETE' column as 'Y' where as 'IS_DEACTIVATE_WHEN_COMPLETE' column still remains 'N'. The agent doesn't fail as well. We tried to split the update statements, tried to remove this DSU from the agent and added in the last milestone. Still the issue persists.
Any clues to resolve the issue?
Thanks,
Mahesh