Posted: Tue Dec 01, 2009 7:06 am Post subject: TimeoutRequest.Action = 'CANCEL'
Novice
Joined: 03 Nov 2009 Posts: 11 Location: Poland
Hello
I have TimeoutRequest.
Next (when I get message), I want to cancel TimeoutRequest (if I will not get message TimeoutRequest will be executed ).
My problem is that I get TimeoutRequest message after canceled.
Which things I should set?
My Code:
TimeoutRequest:
Code:
SET OutputLocalEnvironment.TimeoutRequest.Identifier = id;
SET OutputLocalEnvironment.TimeoutRequest.Action = 'SET';
SET OutputLocalEnvironment.TimeoutRequest.IgnoreMissed = FALSE;
SET OutputLocalEnvironment.TimeoutRequest.AllowOverwrite = FALSE;
SET OutputLocalEnvironment.TimeoutRequest.StartTime = CAST(startDateTime AS TIME);
SET OutputLocalEnvironment.TimeoutRequest.StartDate = CAST(startDateTime AS DATE);
SET OutputLocalEnvironment.TimeoutRequest.Interval=0
SET OutputLocalEnvironment.TimeoutRequest.Count=1
Cancel TimeoutRequest:
Code:
SET OutputLocalEnvironment.TimeoutRequest.Identifier = id;
SET OutputLocalEnvironment.TimeoutRequest.Action = 'CANCEL';
In log I see the same id in TimeoutRequest message and in Cancel TimeoutRequest message.
Should I set something more in Cancel TimeoutRequest message?
I've already resolved problem
I had choosen passing only Message instead of LocalEnvironment and Message in ComputeNode, so it generated error 4601 Navigation to chosen mesage location failed.
You cannot post new topics in this forum You cannot reply to topics in this forum You cannot edit your posts in this forum You cannot delete your posts in this forum You cannot vote in polls in this forum