03-18-2013 11:58 AM
Hi everybody,
For my tests purpose, I need to programmatically create a sequence. In this sequence, I need to insert Rendezvous steps.
Everything works fine when creating them, but when I execute the sequence / steps created this error always show up for rendezvous step :
According to the TS help, this variable should be created when I configure the step for the rendezvous operation. Drag and dropping the step from the TS insertion palette works fine, and the variable is created when chosing the operation 'rendezvous'. But when doing the same thing through programmation, the variable is not created.
Here are the steps executed to create the RDV step :
Everything works fine, the rendezvous step is perfectly created and all properties are set finely. However, the variable TimeouOccured is missing in the Step.Result container (TS help says that this propoerty exists when the step is configured as a rendezvous operation (cf. Operation = 1)).
Am I doing something wrong somewhere ? Why is this variable missing ?
Solved! Go to Solution.
03-19-2013 11:29 AM
You probably need to create the property programmatically using NewSubProperty().
-Doug
03-19-2013 03:17 PM
Hi Doug,
TS help says that this property exists when the step is configured as a rendezvous operation (cf. Operation = 1)... So shouldn't it be created when I create / insert the step ?
I find it very weired to add a subproperty to a StepType, in the Result container...
03-19-2013 03:47 PM - edited 03-19-2013 03:47 PM
Hi,
In testing this, the Step.Result.TimeoutOccurred property only gets created if you change the Operation using the Step settings. The property is not created if you set the Step.Operation property manually. As Doug mentioned, you will need to create this property yourself in the case that you are configuring the step programmatically.
03-20-2013 04:36 AM - edited 03-20-2013 04:55 AM
Hi,
Thank you for your advice.
I modified my scripter to add this subproperty in the Step.Result container. And it works fine !!