Gents, Sorry for my delayed response. Thank you for your suggestions. Based on your feedback, I made the following changes, and the hook is now working as expected.
Thanks a million! my $taskstate = $taskEntity->GetFieldValue(state)->GetValue(); $session->OutputDebugString ("Task's state is $taskstate\n"); next if $taskstate eq "Completed"; -- To unsubscribe, e-mail: beginners-unsubscr...@perl.org For additional commands, e-mail: beginners-h...@perl.org http://learn.perl.org/