Hi,
I have created a parametrized task where I have passed multiple parameter the problem is parameter which I want to be fixed & hidden they are not working.
I am able to control their value as hidden in task description but the moment I am taking action, action show everything which was hidden in action parameter listing with other parameters.
I tried below to make them hidden after action creation & listing them under parameters values, below code doing the job but its actually printing “hidden” when I am doing action script to print parameter values.
var CMDCode = document.getElementById("CMDCode").style.visibility="hidden";
var CMDCode1 = document.getElementById("CMDCode1").style.visibility="hidden";
Fixed & hidden parameter value in task description -
Visible parameter value post action execution other than what I have putted in code
Below is the actual parameter values in code.
<?hxlat CMD_Code ?> MyHiddenCodeHERE <?hxlat CMD_Code1 ?> MyAnotherHiddenCodeHereHowever if I remove these parameter from below they will not show but the problem is after removing them task does understand if these are parameter exists or not.
TakeFixletAction(Relevance('id of current fixlet'), Relevance('id of current bes site'), "Action1", {CMDCode:CMDCode, CMDCode1:CMDCode1});
Any thoughts or suggestions, please.