07-19-2017 03:29 PM
I'm trying to change the Step.Arguments value during the Run State of the Sequence on the Preconditions, but I'm not able to execute it. The main idea is to:
1) Set the Step Argument Expression on the Call Settings tab as: "/K echo HELLO"
2) During the Run State, change the Step Argument Expression to: "/K echo GOODBYE. " with the following expression on the Preconditions tab:
Step.Arguments = "/K echo GOODBYE. ",
But the following errors appear:
ERROR 1: Error in Argument Expression Unexpected token: /
ERROR 2: The following error occurred while logging additional result 'Arguments': Error in call to expression function 'Evaluate'.
Unexpected token: /
What would be the correct way to change the Step Arguments text?
Solved! Go to Solution.
07-19-2017 03:42 PM
Because Step.Arguments is an expression you have to enter it as such:
Step.Arguments = "\"/K echo GOODBYE.\""
Try that.
07-19-2017 07:01 PM
Thanks a lot!!!! It Does Work!!!