ExecValueVariable property issue for a task

  • Hello,

    I am having hard time using ExecValueVariable property for a task. If I try assigning a variable of type other than object, it throws an error message

    "Error: The type of the value being assigned to variable "Test" differs from the current variable type. Variables may not change type during execution. Variable types are strict, except for variables of type Object. "

    And when I assign a variable of type object and run the package, the task executes without any problem. But I am not able to retrieve the execution value after the task completes. Actually, I would expect the task to return 0 on success and -1 on failure or any other values that are different. But this doesn't seem to be working. After the task completes, the variable is changing the type to "empty" from "object". And as a result, it doesn't hold any value.

    Has anybody experienced a similar problem?

    Thanks,

  • I have exactly the same problem and I've found no solution for that.

Viewing 2 posts - 1 through 1 (of 1 total)

You must be logged in to reply to this topic. Login to reply